:root {
    --tvc-bg-base: #f7f7f7;
    --tvc-bg-alt: #ffffff;
    --tvc-bg-dark: #1a1a1a;
    --tvc-text-main: #222222;
    --tvc-text-muted: #666666;
    --tvc-border: #e0e0e0;
    --tvc-border-dark: #333333;
    --tvc-focus: #000000;
    --tvc-radius: 8px;
    --tvc-font: 'Quicksand', sans-serif;
}

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

body {
    font-family: var(--tvc-font);
    background-color: var(--tvc-bg-base);
    color: var(--tvc-text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--tvc-focus);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1.5rem; }

a {
    color: var(--tvc-focus);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover { opacity: 0.7; }

/* Buttons */
.tvc-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tvc-btn-solid {
    background-color: var(--tvc-focus);
    color: var(--tvc-bg-alt);
}

.tvc-btn-solid:hover {
    background-color: transparent;
    color: var(--tvc-focus);
    border-color: var(--tvc-focus);
    opacity: 1;
}

.tvc-btn-outline {
    background-color: transparent;
    border-color: var(--tvc-border-dark);
    color: var(--tvc-focus);
}

.tvc-btn-outline:hover {
    background-color: var(--tvc-border-dark);
    color: var(--tvc-bg-alt);
    opacity: 1;
}

/* Header */
.tvc-masthead {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--tvc-border);
    z-index: 1000;
    padding: 1rem 5%;
}

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

.tvc-brand-mark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--tvc-focus);
}

.tvc-primary-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .tvc-primary-nav a:not(.tvc-action-btn) { display: none; }
}

/* Layout Core */
.tvc-core-layout > * {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero (Asymmetric) */
.tvc-intro-stage { padding-top: 4rem; padding-bottom: 8rem; }

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

.tvc-hero-text-node {
    grid-column: 1 / 8;
    grid-row: 1;
    z-index: 2;
    padding-right: 2rem;
}

.tvc-micro-label {
    display: inline-block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--tvc-focus);
}

.tvc-hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.tvc-hero-visual-node {
    grid-column: 6 / 13;
    grid-row: 1;
    position: relative;
    margin-top: 4rem;
}

.tvc-hero-visual-node img {
    border-radius: var(--tvc-radius);
    aspect-ratio: 4/3;
    box-shadow: -20px 20px 0px var(--tvc-border);
}

.tvc-visual-caption {
    position: absolute;
    bottom: -1rem;
    right: 2rem;
    background: var(--tvc-bg-dark);
    color: var(--tvc-bg-alt);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: 4px;
}

@media (max-width: 992px) {
    .tvc-hero-text-node { grid-column: 1 / -1; padding-right: 0; }
    .tvc-hero-visual-node { grid-column: 2 / -1; grid-row: 2; margin-top: 2rem; }
}

/* About / Dossier */
.tvc-firm-dossier {
    background-color: var(--tvc-bg-alt);
    border-radius: var(--tvc-radius);
    border: 1px solid var(--tvc-border);
    margin-top: -3rem; /* Leakage */
    margin-bottom: 5rem;
}

.tvc-dossier-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tvc-dossier-media img {
    border-radius: var(--tvc-radius);
    filter: grayscale(100%) contrast(1.2);
}

.tvc-data-telemetry {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--tvc-border);
    padding-top: 2rem;
}

.tvc-telemetry-node {
    display: flex;
    flex-direction: column;
}

.tvc-stat-val {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.tvc-stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
}

.tvc-stat-label {
    font-size: 0.85rem;
    color: var(--tvc-text-muted);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tvc-subtext-detail {
    font-size: 0.75rem;
    color: var(--tvc-text-muted);
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .tvc-dossier-wrap { grid-template-columns: 1fr; }
    .tvc-data-telemetry { flex-wrap: wrap; }
}

/* Services Matrix (Asymmetric Grid) */
.tvc-practice-matrix { padding-top: 2rem; }

.tvc-matrix-header { max-width: 600px; margin-bottom: 4rem; }

.tvc-card-assemblage {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.tvc-protocol-card {
    background: var(--tvc-bg-alt);
    border: 1px solid var(--tvc-border);
    border-radius: var(--tvc-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.tvc-protocol-card:hover { transform: translateY(-5px); }

.tvc-card-offset-2 { margin-top: 3rem; }
.tvc-card-offset-3 { margin-top: 1.5rem; }

.tvc-card-media img {
    aspect-ratio: 16/9;
    border-bottom: 1px solid var(--tvc-border);
    filter: grayscale(80%);
}

.tvc-card-data {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tvc-text-only-card {
    justify-content: center;
    background: var(--tvc-bg-dark);
    color: var(--tvc-bg-alt);
}

.tvc-text-only-card h3 { color: var(--tvc-bg-alt); }
.tvc-text-only-card p { color: #aaaaaa; }

.tvc-protocol-list {
    list-style: none;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--tvc-border);
}

.tvc-protocol-list li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.tvc-protocol-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--tvc-text-muted);
}

.tvc-inline-link {
    color: var(--tvc-bg-alt);
    text-decoration: underline;
    margin-top: 2rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .tvc-card-assemblage { grid-template-columns: 1fr; }
    .tvc-card-offset-2, .tvc-card-offset-3 { margin-top: 0; }
}

/* Testimonials */
.tvc-evidence-log {
    background-color: var(--tvc-bg-alt);
    border-top: 1px solid var(--tvc-border);
    border-bottom: 1px solid var(--tvc-border);
    padding: 7rem 5%;
}

.tvc-testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.tvc-witness-block {
    background: var(--tvc-bg-base);
    padding: 2.5rem;
    border-radius: var(--tvc-radius);
    border-left: 4px solid var(--tvc-focus);
}

.tvc-block-push { margin-top: 4rem; }

.tvc-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.tvc-witness-id {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tvc-witness-id img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    filter: grayscale(100%);
}

.tvc-witness-id strong { display: block; font-size: 1rem; }
.tvc-witness-id span { font-size: 0.85rem; color: var(--tvc-text-muted); }

@media (max-width: 768px) {
    .tvc-testimonial-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .tvc-block-push { margin-top: 0; }
}

/* Contact Portal */
.tvc-intake-portal { padding-bottom: 8rem; }

.tvc-portal-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--tvc-bg-alt);
    border: 1px solid var(--tvc-border);
    border-radius: var(--tvc-radius);
    overflow: hidden;
}

.tvc-portal-visual img {
    height: 100%;
    filter: grayscale(100%);
}

.tvc-portal-form-zone {
    padding: 4rem;
}

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

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

.tvc-input-group input,
.tvc-input-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--tvc-border);
    border-radius: 4px;
    font-family: var(--tvc-font);
    font-size: 1rem;
    background: var(--tvc-bg-base);
}

.tvc-input-group input:focus,
.tvc-input-group textarea:focus {
    outline: none;
    border-color: var(--tvc-focus);
}

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

@media (max-width: 992px) {
    .tvc-portal-layout { grid-template-columns: 1fr; }
    .tvc-portal-visual { display: none; }
    .tvc-portal-form-zone { padding: 2rem; }
}

/* Footer */
.tvc-terminal-footer {
    background-color: var(--tvc-bg-dark);
    color: #e0e0e0;
    padding: 5rem 5% 2rem;
}

.tvc-footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid var(--tvc-border-dark);
    padding-bottom: 3rem;
}

.tvc-footer-col h4 {
    color: var(--tvc-bg-alt);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.tvc-footer-col ul {
    list-style: none;
}

.tvc-footer-col ul li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.tvc-footer-col a {
    color: #aaaaaa;
}

.tvc-footer-col a:hover {
    color: var(--tvc-bg-alt);
}

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

.tvc-tiny-disclaimer {
    font-size: 0.7rem;
    max-width: 400px;
    text-align: right;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .tvc-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .tvc-tiny-disclaimer { text-align: center; }
}

/* Utility Classes */
.page-container {
    max-width: 800px;
    margin: 6rem auto;
    padding: 0 5%;
    min-height: 50vh;
}
