/* --- 1. CORE VARIABLES & RESET --- */
:root {
    --primary: #ff4d00;
    --bg: #0a0a0a;
    --text: #ffffff;
    --glass: rgba(255, 255, 255, 0.05);
}

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

body { 
    background-color: var(--bg); 
    color: var(--text); 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
    transition: background 0.5s ease, color 0.5s ease; 
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 2. NAVIGATION & LOGO --- */
.glass-nav { 
    position: fixed; top: 0; width: 100%; height: 100px; 
    background: rgba(0,0,0,0.95); display: flex; 
    align-items: center; justify-content: space-between; 
    padding: 0 5%; z-index: 1000; 
    border-bottom: 2px solid #111;
    transition: border-color 0.5s ease;
}

.nav-logo img { 
    height: 70px; /* ENLARGED LOGO */
    width: auto; 
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-right-stack {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a { 
    color: #fff; text-decoration: none; 
    font-weight: 700; font-size: 1.0rem; letter-spacing: 2px; 
    transition: 0.3s;
}
.nav-links a:hover { color: var(--primary); }

/* --- 3. THE "ACTIVATION" SWITCH --- */
.mode-toggle { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    background: #111; 
    padding: 6px 12px; 
    border-radius: 4px; 
    border: 1px solid #333;
    transition: border-color 0.5s ease;
}

.mode-label { 
    font-size: 0.6rem; 
    font-weight: 900; 
    letter-spacing: 1px;
    color: #555; 
    transition: color 0.5s ease;
}

.switch { position: relative; width: 34px; height: 18px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { 
    position: absolute; inset: 0; background: #333; 
    border-radius: 20px; cursor: pointer; transition: 0.4s; 
}
.slider:before { 
    position: absolute; content: ""; height: 12px; width: 12px; 
    left: 3px; bottom: 3px; background: #fff; transition: 0.4s; border-radius: 50%; 
}

input:checked + .slider { background: var(--primary); }
input:checked + .slider:before { transform: translateX(16px); }

/* --- 4. HERO SECTION --- */
#hero { 
    height: 130vh; position: relative; 
    display: flex; align-items: center; justify-content: center; 
    overflow: hidden; 
}

.hero-bg { 
    position: absolute; inset: 0; background-size: cover; 
    background-position: center; filter: brightness(0.4) grayscale(1); 
    z-index: -1; transition: filter 0.8s ease; will-change: transform;
}

/* Hero Manifesto Layout */
.hero-manifesto {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.hero-manifesto h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.manifesto-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text);
    margin-bottom: 30px;
    opacity: 0.8;
}

/* The Animated Section */
.commitment-container {
    height: 50px;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.commitment-wrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.commitment-item {
    height: 50px; 
    line-height: 50px;
    font-size: clamp(1.5rem, 4vw, 2.2rem); 
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    white-space: nowrap;
    animation: slide-commit 12s infinite ease-in-out;
}

@keyframes slide-commit {
    0%, 20% { transform: translateY(0); }
    25%, 45% { transform: translateY(-50px); }  /* Move exactly one item height */
    50%, 70% { transform: translateY(-100px); } /* Move exactly two item heights */
    75%, 95% { transform: translateY(-150px); } /* Move exactly three item heights */
    100% { transform: translateY(0); }
}
/* --- 5. AUTHORITY (ABOUT CARSON) --- */
#authority { background: #111; padding: 120px 5%; }

.authority-grid { 
    display: flex; align-items: center; gap: 60px; 
    max-width: 1200px; margin: 0 auto; 
}

.auth-text { flex: 1.2; }

.auth-text h2 { font-size: 3rem; color: var(--primary); margin-bottom: 20px; font-weight: 900; }

.bio-intro { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; color: #fff; line-height: 1.3; }

.auth-text p { color: #ccc; margin-bottom: 15px; }

.credentials-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }

.credentials-list span { 
    background: var(--primary); color: #fff; padding: 6px 14px; 
    font-size: 0.7rem; font-weight: 900; letter-spacing: 1px;
}

.auth-image { flex: 1; }

.auth-image img { 
    width: 100%; max-width: 500px; height: auto; 
    filter: grayscale(1); border: 1px solid #333; transition: 0.8s ease;
}

/* --- 6. About Focus --- */
#aboutfocus {
    padding: 30px 10px;
    text-align: center;
    background-color: #000000; 
    color: #ffffff;
}

#aboutfocus h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--primary); 
}

#aboutfocus p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto; /* Centers the text block */
    font-weight: 400;
    opacity: 0.9;
}

/* --- 7. DEFINITION & SYMBOLS --- */
#definition { padding: 10px 10%; text-align: center; background: #000; }

.symbol-grid { 
    display: flex; justify-content: center; gap: 60px; margin-bottom: 60px; 
}

.symbol-item { 
    max-width: 300px; 
    margin: 0 auto;       
    text-align: center;
}
.symbol-item .icon { 
    font-size: 3rem; 
    display: block; 
    margin-bottom: 15px; 
}

.symbol-item .icon.mirror { 
    transform: scaleX(-1); 
    display: block; /* Ensures the flip happens on the center axis */
}

.symbol-item h3 { color: var(--primary); font-size: 1rem; margin-bottom: 10px; letter-spacing: 1px; }

.lead { font-size: 2.4rem; font-weight: 800; line-height: 1.1; color: var(--primary); }

/* --- 8. THE CODE (F.O.R.C.E.D. PARALLAX) --- */
#code { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }

.code-parallax-bg { 
    position: absolute; top: -20%; left: 0; width: 100%; height: 140%; 
    background-size: cover; background-position: top center; 
    filter: brightness(0.3) grayscale(1); z-index: -1; transition: filter 0.8s ease;
}

.code-overlay { width: 100%; padding: 100px 5%; z-index: 1; }

.section-title { font-size: 4rem; text-align: center; margin-bottom: 10px; font-weight: 900; }

.section-subtitle { text-align: center; color: var(--primary); font-weight: 800; letter-spacing: 4px; margin-bottom: 50px; }

.forced-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.forced-card { 
    background: var(--glass); backdrop-filter: blur(15px); padding: 40px; 
    border-left: 4px solid var(--primary); transition: 0.5s ease; 
}

/* Momentum Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; padding: 20px; } .gallery-item img { width: 100%; height: 400px; object-fit: cover; filter: grayscale(1); transition: 0.5s ease; } .gallery-item img:hover { filter: grayscale(0); transform: scale(1.02); }

/* Momentum Section Styling */
#momentum {
    padding: 80px 5%;
    background: #000;
}

.momentum-title {
    font-size: 3rem;
    color: #ffff;
    font-weight: 900;
    text-align: left;
    margin-bottom: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* When the body is in action-mode, force all images to color */
body.action-mode .gallery-item img {
    filter: grayscale(0);
}

/* Power User Spanning */
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

/* Hover Overlay */
.overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
    background: linear-gradient(transparent, rgba(255, 69, 0, 0.7)); /* Brand Orange tint */
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: #fff;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* --- 9. THE F.O.C.U.S. STANDARD --- */
#standard { background: #000; padding: 120px 5%; border-top: 1px solid #111; }

.focus-list { max-width: 850px; margin: 60px auto 0; }

.focus-row { 
    display: flex; align-items: center; padding: 30px 0; border-bottom: 1px solid #111; 
}

.focus-row span { 
    color: var(--primary); font-size: 3.5rem; font-weight: 900; 
    margin-right: 35px; width: 60px; flex-shrink: 0; transition: text-shadow 0.5s ease;
}

.focus-row strong { font-size: 1.6rem; margin-right: 15px; letter-spacing: 1px; color: #fff; }

/* --- 10. PROCESS & SERVICES --- */
.process-flex { display: flex; flex-wrap: wrap; align-items: center; padding: 120px 5%; background: #0a0a0a; }

.process-image img { width: 100%; border: 1px solid #222; filter: grayscale(1); transition: 0.8s ease; }

.process-text { flex: 1; padding: 40px; }

.process-text h2 { font-size: 3rem; font-weight: 900; margin-bottom: 10px; }

.process-list li { 
    font-size: 1.2rem; font-weight: 700; margin-bottom: 18px; 
    padding-left: 20px; border-left: 2px solid var(--primary); 
}

#services { padding: 120px 5%; background: #050505; border-top: 1px solid #111; text-align: center; }

.services-grid { display: flex; gap: 30px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }

.service-card { 
    background: #111; padding: 50px 40px; border: 1px solid var(--primary); 
    width: 100%; max-width: 450px; transition: 0.4s ease; 
}

.service-card h3 { color: var(--primary); margin-bottom: 15px; letter-spacing: 2px; }

.service-card:hover { transform: translateY(-10px); background: var(--primary); color: #fff; }

.service-card:hover h3 { color: #fff; }

/* --- 11. FOOTER --- */
footer { background: var(--primary); color: white; padding: 120px 5%; text-align: center; }

footer h2 { font-size: clamp(3rem, 8vw, 5rem); font-weight: 900; margin-bottom: 20px; }

footer h3 {
    font-size: 1.2rem; font-weight: 700;letter-spacing: 4px; margin-bottom: 40px;padding: 0 15%; text-transform: uppercase;
    opacity: 0.9;
}
.social-links { 
    margin-top: 40px; 
    font-weight: 700; 
    opacity: 0.9; 
    color: white;
}

.social-links a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}
.contact-links a { 
    display: block; 
    color: white; 
    text-decoration: none; 
    font-size: 1.6rem; 
    font-weight: 900; 
    margin: 10px 0; 
}

/* --- 12. THE "ACTION MODE" ACTIVATION --- */
body.action-mode .hero-bg { filter: brightness(0.6) grayscale(0); }

body.action-mode .code-parallax-bg { filter: brightness(0.5) grayscale(0); }

body.action-mode .auth-image img, 
body.action-mode .process-image img { filter: grayscale(0) brightness(1); border-color: var(--primary); }

body.action-mode .forced-card { 
    background: rgba(255, 77, 0, 0.1); 
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.15);
}
body.action-mode .focus-row span { text-shadow: 0 0 15px var(--primary); }

body.action-mode .glass-nav { border-bottom-color: var(--primary); }

/* --- 13. MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .glass-nav { height: 80px; }
    .nav-logo img { height: 45px; }
    .nav-links { display: none; }
    .authority-grid { flex-direction: column; text-align: center; }
    .symbol-grid { flex-direction: column; gap: 40px; }
    .focus-row { flex-direction: column; text-align: center; }
    .focus-row span { margin-right: 0; margin-bottom: 10px; }
    .section-title { font-size: 2.5rem; }
}