:root {
    --accent: #3498db;
    --accent-glow: rgba(52, 152, 219, 0.4);
    --border-color: rgba(255, 255, 255, 0.15);
    --bg-card: rgba(12, 12, 12, 0.9);
    --text-primary: #ffffff;
    --text-secondary: #bdc3c7;
    --nav-white-trans: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #000;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* --- BACKGROUND ENGINE --- */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

#player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
}

.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.95) 100%);
    z-index: -1;
}

/* --- SECTION STRUCTURE --- */
.snap-section {
    height: 100vh;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 40px;
}

.wrapper {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

/* --- REFINED TYPOGRAPHY --- */
.section-label, .sub-h {
    display: block;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

h2 {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    color: var(--text-primary);
}

/* --- NAVIGATION CHEVRONS --- */
.nav-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    font-size: 3.2rem;
    color: var(--nav-white-trans);
    transition: color 0.3s ease, opacity 0.4s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.nav-up { top: 35px; }
.nav-down { bottom: 35px; }

.snap-section.is-visible .nav-btn {
    opacity: 1;
    visibility: visible;
}

.nav-btn:hover {
    color: var(--accent);
    transform: translateX(-50%);
}

/* --- HERO SECTION --- */
.hero-content { 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero svg {
    width: 350px;
    max-width: 85%; 
    margin-bottom: 15px; 
    display: block;
}
.hero span {
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 700;
}

/* --- DATA DELIVERY SECTION --- */
.infra-text-block {
    max-width: 800px;
}

.infra-text-block p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 20px;
}

/* --- PRINCIPLES GRID --- */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
    margin-bottom: 60px;
}

.principle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: border-color 0.3s ease;
    min-height: 220px;
}

.principle-card:hover {
    border-color: var(--accent);
}

.principle-card i {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
}

.principle-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.principle-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.principle-card a {
    color: var(--accent);
    text-decoration: underline;
}

.principle-card a:hover {
    color: var(--accent-glow);
    text-decoration: none;
}

/* --- ARCHITECT PROFILE SECTION --- */
.entity-profile {
    background: #080808;
    border: 1px solid var(--border-color);
    display: flex;
    overflow: hidden;
    width: 100%;
}

.entity-text {
    padding: 60px;
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.entity-text .sub-h,
.entity-text h2 {
    margin-bottom: 20px;
}

.entity-text p {
    flex: 1;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    display: block;
    opacity: 0.85;
}

.profile-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    margin-top: auto;
    padding: 20px 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-link:hover { 
    color: #fff;
}

.profile-link i { 
    margin-left: 8px;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.profile-link:hover i {
    transform: translateX(4px);
}

.entity-visual {
    flex: 0.8;
    background: #111;
}

.architect-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: grayscale(20%);
}

/* --- FOOTER --- */
.architect-final { justify-content: center; }

.integrated-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 1140px;
    padding: 30px 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand {
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.85rem;
}

.footer-copy {
    font-size: 0.7rem;
    opacity: 0.5;
    text-transform: uppercase;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    html { scroll-snap-type: none; }
    .snap-section {
        height: auto;
        min-height: 100vh;
        scroll-snap-align: none;
        padding: 80px 20px;
    }
    h2 { font-size: 2.2rem; }
    .nav-btn { font-size: 2.5rem; }
    .nav-up { top: 18px; }
    .nav-down { bottom: 18px; }
    .nav-btn { display: none; }
    #hero .nav-down { display: block; opacity: 1; visibility: visible; }
    .principle-grid { grid-template-columns: 1fr; }
    .principle-card { padding: 26px 20px; min-height: 0; }
    .entity-profile { flex-direction: column; }
    .entity-visual { display: none; }
    .entity-text { padding: 40px 25px; justify-content: flex-start; }
    .integrated-footer { position: relative; border-top: none; }
    .footer-row { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 600px) {
    .hero svg { width: 260px; }
    .hero span { letter-spacing: 4px; font-size: 1.05rem; }
    h2 { font-size: 1.85rem; }
    .section-label, .sub-h { letter-spacing: 2px; }
    .infra-text-block p { font-size: 1.05rem; }
    .nav-btn { font-size: 2.1rem; }
}