/* the-lab-v2.css - $impeccable Daylight Engineering execution */

/* The Cinematic Hero */
.lab-hero {
    position: relative;
    width: 100%;
    height: 90vh; /* Massive impact */
    min-height: 700px;
    background-color: var(--bg); 
    overflow: hidden;
}

.lab-hero-image-wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    z-index: 1;
}

.lab-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The architectural cut overlay */
.lab-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Smooth fade from solid Stone to transparent */
    background: linear-gradient(to right, var(--bg) 0%, var(--bg) 40%, rgba(227, 231, 226, 0) 90%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: clamp(2rem, 5vw, 6rem);
    padding-right: 6rem;
    padding-top: 120px; /* Header clearance */
}

.lab-hero-title {
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 13rem);
    color: var(--text-primary);
    line-height: 0.85;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.02em;
}

.lab-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-primary);
    max-width: 40ch;
    margin-top: 2rem;
    line-height: 1.6;
}

/* The Core Data Blocks */
.lab-data-section {
    background-color: var(--bg);
    padding: clamp(6rem, 10vw, 10rem) 0;
}

.lab-product-block {
    margin-bottom: clamp(6rem, 10vw, 12rem);
}

.lab-product-block:last-child {
    margin-bottom: 0;
}

/* The 2-Column Split */
.lab-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch; /* Align the data wall and the doc list */
}

@media (max-width: 1024px) {
    .lab-split { grid-template-columns: 1fr; gap: 4rem; }
    .lab-hero-content { width: 100%; background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 60%, rgba(227, 231, 226, 0) 100%); padding-right: clamp(2rem, 5vw, 6rem); }
    .lab-hero-image-wrap { width: 100%; }
}

/* The Data Wall (Left Column) */
.data-wall {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}

.data-wall-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 3rem;
    line-height: 1;
}

.data-stat {
    margin-bottom: 2.5rem;
}

.data-stat:last-child {
    margin-bottom: 0;
}

.data-stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-primary);
    line-height: 0.9;
    letter-spacing: -0.02em;
    display: block;
}

.data-stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 2px solid var(--text-primary);
    max-width: 200px;
}

/* The Documents (Right Column) */
.doc-hub {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(45, 52, 54, 0.1); /* Subtle divider */
    padding-left: 4rem;
}

@media (max-width: 1024px) {
    .doc-hub { border-left: none; padding-left: 0; border-top: 1px solid rgba(45, 52, 54, 0.1); padding-top: 4rem; }
}

.doc-hub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-hub-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(45, 52, 54, 0.2);
    transition: background-color 0.3s ease;
}

.doc-hub-item:hover {
    background-color: rgba(45, 52, 54, 0.02);
}

.doc-hub-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.doc-hub-name {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    color: var(--text-primary);
    text-transform: uppercase;
}

.doc-hub-meta {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

/* The $impeccable sharp outline button */
.btn-doc-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-doc-download:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(30, 36, 32, 0.08); /* Ambient Medium lift */
    transform: translateY(-2px);
}
