/* AGP Brand Variables */
:root {
    --bg-void: #0A0A0A;
    --text-parchment: #F4F1ED;
    --accent-bridge: #C84B31;
    --border-graphite: #2D2D2D;
    --text-muted: #888888;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --container-width: 1600px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* Fix for Parallax overflow bleed on mobile/smaller screens */
body {
    font-family: var(--font-body);
    background-color: var(--bg-void);
    color: var(--text-parchment);
    line-height: 1.5;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100%;
}

/* Typography Scale (Fluid) */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h1 { font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { 
    font-family: var(--font-body); 
    font-size: 0.85rem; 
    font-weight: 500; 
    margin-bottom: 0.75rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
}

p { 
    margin-bottom: 1.5rem; 
    color: var(--text-muted); 
    font-size: clamp(1rem, 1.5vw, 1.25rem); 
    max-width: 65ch; 
}

.lead { font-size: clamp(1.25rem, 2vw, 1.75rem); color: var(--text-parchment); }

a { color: var(--text-parchment); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-bridge); }

.eyebrow {
    display: block;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--accent-bridge);
    margin-bottom: 2rem;
}

.quote { 
    font-style: italic; 
    color: var(--text-parchment); 
    margin-top: 3rem; 
    border-left: 2px solid var(--accent-bridge); 
    padding-left: 2rem; 
}

.highlight-text { 
    font-family: var(--font-heading); 
    font-size: clamp(1.5rem, 3vw, 2.5rem); 
    color: var(--text-parchment); 
    margin-top: 3rem; 
}

/* Structural Grids */
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 4vw; }
.max-w-800 { max-width: 800px; margin: 0 auto; }
.text-center { text-align: center; }
.border-top { border-top: 1px solid var(--border-graphite); }

section { padding: clamp(6rem, 12vw, 12rem) 0; }

/* Interactive Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0%;
    background-color: var(--acccent-bridge);
    transition: var(--transition); z-index: -1;
}

.btn-primary {
    background-color: var(--text-parchment);
    color: var(--bg-void);
    border: none;
}
.btn-primary:hover { 
    background-color: var(--accent-bridge); 
    color: var(--text-parchment);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-parchment);
    border: 1px solid rgba(244, 241, 237, 0.3);
}
.btn-outline:hover { 
    border-color: var(--text-parchment); 
    background: rgba(244, 241, 237, 0.05);
}

/* Navigation - Modern Editorial */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 100%);
    backdrop-filter: blur(10px);
    transition: padding 0.4s ease, background 0.4s ease;
}
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: clamp(1.5rem, 2vw, 2.5rem); font-weight: 600; letter-spacing: -0.02em; }
.logo span { color: var(--accent-bridge); }

.nav-links { display: flex; gap: 3vw; align-items: center; }
.nav-links a:not(.btn) { 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
    position: relative;
    padding: 0.5rem 0;
}

/* Hover reveal line for nav links */
.nav-links a:not(.btn)::after {
    content:''; position: absolute; bottom: 0; left: 0; width: 0%; height: 1px;
    background: var(--text-parchment); transition: var(--transition);
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-btn { padding: 0.75rem 2rem; }
.menu-toggle { display: none; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.1em; cursor: pointer; }

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: flex-end; /* Keeps text anchored to bottom */
    justify-content: flex-start;
    position: relative;
    padding-bottom: clamp(6rem, 10vw, 10rem);
    padding-top: 150px; /* Crucial offset so the top of text doesn't hit nav on short screens */
}
.hero-bg-image {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: url('https://images.unsplash.com/photo-1542204165-65bf26472b9b?auto=format&fit=crop&q=80&w=2400') center/cover;
    filter: grayscale(100%) contrast(110%);
    opacity: 0.3;
    z-index: -2;
    transform: scale(1.05);
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(0deg, var(--bg-void) 0%, rgba(10,10,10,0.4) 50%, rgba(10,10,10,0.8) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 1;
}
.hero-content h1 { margin-bottom: 2rem; color: var(--text-parchment); }
.hero-content h1 span { color: var(--accent-bridge); font-style: italic; }
.hero-content p { font-size: clamp(1.1rem, 2vw, 1.5rem); color: rgba(244, 241, 237, 0.8); max-width: 800px; }

.hero-actions { 
    margin-top: 4rem; 
    display: flex;
    gap: 2rem;
    align-items: center;
}

.scroll-indicator {
    position: absolute; bottom: 3rem; right: 4vw;
    display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.scroll-indicator span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); writing-mode: vertical-rl;}
.scroll-indicator .line { width: 1px; height: 60px; background: rgba(244, 241, 237, 0.3); position: relative; overflow: hidden; }
.scroll-indicator .line::after {
    content:''; position: absolute; top: 0; left: 0; width: 1px; height: 100%; background: var(--accent-bridge);
    animation: dropLine 2s infinite cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes dropLine {
    0% { transform: translateY(-100%); }
    50%, 100% { transform: translateY(100%); }
}

/* Grids & Layouts */
.intro h2 { max-width: 1000px; }

.grid-4 { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    border-top: 1px solid var(--border-graphite); 
}
.grid-item { 
    padding: clamp(3rem, 5vw, 5rem) 2rem clamp(3rem, 5vw, 5rem) 0; 
    border-right: 1px solid var(--border-graphite); 
    transition: var(--transition);
}
.grid-item:hover {
    background: rgba(255,255,255,0.02);
    padding-left: 1rem;
}
.grid-item:last-child { border-right: none; padding-right: 0; }
.grid-item span { 
    display: block; 
    font-family: var(--font-body); 
    font-size: 0.85rem; 
    color: var(--accent-bridge); 
    margin-bottom: 2rem; 
    letter-spacing: 0.1em;
}

/* Split Asymmetric Layouts */
.split-layout { 
    display: grid; 
    grid-template-columns: 5fr 7fr; 
    gap: 0; 
    position: relative;
}
.split-layout.alternate {
    grid-template-columns: 7fr 5fr;
}
.split-content { 
    padding: clamp(4rem, 8vw, 8rem) clamp(2rem, 6vw, 6rem); 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.split-image { 
    height: 100%; 
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    position: relative;
}
.split-image::after {
    content:''; position: absolute; inset:0; background: rgba(10,10,10,0.2);
}

.photo-1 { background-image: url('https://images.unsplash.com/photo-1515463138280-67d1dcbf317f?auto=format&fit=crop&q=80&w=1400'); filter: grayscale(80%); }
.photo-5 { background-image: url('https://images.unsplash.com/photo-1540324155974-7523202daa3f?auto=format&fit=crop&q=80&w=1400'); filter: grayscale(100%); }

/* Talent Roster - High End Masonry/Grid */
.roster-grid { 
    display: grid; 
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    margin: 6rem 0; 
}
.roster-item { 
    position: relative; 
    overflow: hidden; 
    background-color: var(--border-graphite); 
}
.roster-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.roster-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.roster-item::after { 
    content:''; position: absolute; inset:0; 
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 50%); 
    opacity: 0.8;
    transition: var(--transition); 
}
.roster-item:hover::after { opacity: 0.4; }

.roster-info { 
    position: absolute; 
    bottom: 2rem; left: 2rem; 
    z-index: 2; 
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}
.roster-item:hover .roster-info {
    transform: translateY(0);
    opacity: 1;
}
.roster-info h4 { color: #FFF; font-size: 1.5rem; letter-spacing: 0; text-transform: none; font-family: var(--font-heading); margin-bottom: 0.25rem;}
.roster-info span { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent-bridge); }

/* Grid Spanning */
.r-wide { grid-column: span 8; aspect-ratio: 16/9; }
.r-tall { grid-column: span 4; aspect-ratio: 3/4; }
.r-square { grid-column: span 6; aspect-ratio: 1/1; }

.services-list ul { list-style: none; margin: 3rem 0; border-top: 1px solid var(--border-graphite); }
.services-list li { 
    padding: 2rem 0; 
    border-bottom: 1px solid var(--border-graphite); 
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.services-list li:hover {
    padding-left: 2rem;
    color: var(--accent-bridge);
}

/* Footer Focus */
.site-footer { padding: 6rem 0 2rem; font-size: 0.85rem; border-top: 1px solid var(--border-graphite); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6rem; margin-bottom: 6rem; }
.footer-brand .logo { font-size: 3rem; margin-bottom: 1rem; display: block;}
.footer-text p { font-size: 1rem; margin-bottom: 1rem; color: var(--text-muted); }
.footer-links h4 { color: var(--text-parchment); margin-bottom: 1.5rem;}
.footer-links a { display: block; margin-bottom: 1rem; color: var(--text-muted); font-size: 1rem;}
.footer-links a:hover { color: #FFF; }
.footer-bottom { 
    padding-top: 2rem; 
    display: flex; justify-content: space-between; 
    color: rgba(244, 241, 237, 0.4); 
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Responsive Overrides (Mobile First Approach adaptation) */
@media (max-width: 1200px) {
    .split-layout { grid-template-columns: 1fr; gap: 0; }
    .split-layout.alternate { grid-template-columns: 1fr; }
    .split-image { height: 60vh; min-height: 400px; order: -1; background-attachment: scroll;} /* Disable parallax on smaller screens */
    .r-wide, .r-tall, .r-square { grid-column: span 12; aspect-ratio: 4/3; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); border-top: none; }
    .grid-item { border-right: none; border-bottom: 1px solid var(--border-graphite); padding: 3rem 0; }
    .grid-item:hover { padding-left: 0; background: transparent; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 1rem; width: 100%;}
    .hero-actions .btn { width: 100%; text-align: center; }
}

@media (max-width: 768px) {
    .navbar { background: rgba(10,10,10,0.95); }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    section { padding: 5rem 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .services-list li { font-size: 1.1rem; flex-direction: column; align-items: flex-start; gap: 1rem; }
    .services-list li:hover { padding-left: 0; }
    .roster-info { opacity: 1; transform: translateY(0); } /* Always show info on mobile */
    .hero-content h1 { margin-bottom: 1rem; }
    .hero { min-height: 85vh; padding-bottom: 6rem; padding-top: 120px; align-items: center; } /* Switch alignment to center on mobile to completely clear top nav */
    .hero-bg-image { animation: none; background-attachment: scroll; } /* Bugfix CSS animation on iOS safari */
}