:root {
    --bg: #0e0e10;
    --bg2: #16161a;
    --bg3: #1c1c22;
    --cream: #f2ede6;
    --cream2: rgba(242,237,230,0.55);
    --cream3: rgba(242,237,230,0.25);
    --orange: #e8723a;
    --orange2: #f09060;
    --orange-bg: rgba(232,114,58,0.08);
    --orange-glow: rgba(232,114,58,0.2);
    --serif: 'DM Serif Display', Georgia, serif;
    --sans: 'DM Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
em { font-family: var(--serif); font-style: italic; color: var(--orange); }
::selection { background: var(--orange); color: var(--bg); }
.label { display: block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--cream3); margin-bottom: 20px; font-weight: 400; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px 48px; transition: 0.5s var(--ease); }
.nav.scrolled { background: rgba(14,14,16,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(242,237,230,0.05); }
.nav-logo { height: 44px; width: auto; }
.nav-brand { display: flex; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.82rem; color: var(--cream2); transition: 0.3s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { padding: 8px 22px !important; border: 1px solid var(--orange) !important; border-radius: 50px; color: var(--orange) !important; }
.nav-cta:hover { background: var(--orange) !important; color: var(--bg) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 1px; background: var(--cream); position: absolute; left: 0; transition: 0.3s; }
.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video, .hero-fallback-img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback-img { z-index: -1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, var(--bg) 35%, rgba(14,14,16,0.5) 65%, rgba(14,14,16,0.3) 100%); }
.hero-content { position: relative; z-index: 1; padding: 140px 48px 80px; max-width: 680px; }
.hero-eyebrow { font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 32px; }
.hero-title { font-family: var(--serif); font-size: clamp(3rem, 7vw, 6rem); font-weight: 400; line-height: 1.0; margin-bottom: 32px; }
.hero-title em { font-size: 1em; }
.line { display: block; opacity: 0; transform: translateY(30px); animation: lineIn 0.9s var(--ease) forwards; }
.line:nth-child(2) { animation-delay: 0.15s; }
.line:nth-child(3) { animation-delay: 0.3s; }
@keyframes lineIn { to { opacity: 1; transform: translateY(0); } }
.hero-sub { font-size: 1.05rem; line-height: 1.8; color: var(--cream2); max-width: 440px; margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-solid { padding: 14px 32px; background: var(--orange); color: var(--bg); font-family: var(--sans); font-size: 0.88rem; font-weight: 500; border-radius: 50px; transition: 0.3s var(--ease); }
.btn-solid:hover { background: var(--orange2); transform: translateY(-2px); box-shadow: 0 8px 30px var(--orange-glow); }
.btn-ghost { padding: 14px 24px; color: var(--cream2); font-size: 0.88rem; font-weight: 400; transition: 0.3s; }
.btn-ghost:hover { color: var(--orange); }
.hero-scroll { position: absolute; bottom: 36px; left: 48px; z-index: 1; }
.hero-scroll span { display: block; width: 1px; height: 48px; background: linear-gradient(to bottom, var(--orange), transparent); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 0.2; transform: scaleY(0.5); } 50% { opacity: 0.8; transform: scaleY(1); } }

/* STATS STRIP */
.stats-strip { display: flex; justify-content: center; gap: 48px; padding: 28px 48px; border-bottom: 1px solid rgba(242,237,230,0.05); flex-wrap: wrap; }
.stat { font-size: 0.82rem; color: var(--cream3); font-weight: 300; }
.stat strong { color: var(--orange); font-weight: 600; margin-right: 4px; }

/* ABOUT */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 80vh; }
.about-text { display: flex; flex-direction: column; justify-content: center; padding: 100px 72px 100px 48px; }
.about-text h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 400; line-height: 1.45; margin-bottom: 28px; }
.about-text p { font-size: 0.95rem; color: var(--cream2); line-height: 1.85; font-weight: 300; max-width: 460px; }
.about-img { position: relative; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* SERVICES */
.services { padding: 120px 48px; max-width: 1100px; margin: 0 auto; }
.services-top { margin-bottom: 72px; }
.services-top h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.3; }
.service-row { display: grid; grid-template-columns: 48px 220px 1fr; gap: 28px; align-items: baseline; padding: 28px 0; border-top: 1px solid rgba(242,237,230,0.06); transition: 0.3s; }
.service-row:last-child { border-bottom: 1px solid rgba(242,237,230,0.06); }
.service-row:hover { padding-left: 12px; }
.service-row:hover .svc-name { color: var(--orange); }
.svc-num { font-family: var(--serif); font-size: 0.9rem; color: var(--cream3); font-style: italic; }
.svc-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; transition: 0.3s; line-height: 1.3; }
.svc-desc { font-size: 0.88rem; color: var(--cream3); line-height: 1.8; font-weight: 300; }

/* IMPACT */
.impact { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; }
.impact-img-side { position: relative; overflow: hidden; }
.impact-img-side img { width: 100%; height: 100%; object-fit: cover; }
.impact-img-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--bg) 100%); }
.impact-data { display: flex; flex-direction: column; justify-content: center; padding: 80px 48px 80px 72px; }
.impact-data h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.3; margin-bottom: 48px; }
.impact-cards { display: flex; flex-direction: column; gap: 20px; }
.imp-card { padding: 28px; border: 1px solid rgba(242,237,230,0.06); border-radius: 4px; position: relative; transition: 0.3s; }
.imp-card:hover { border-color: rgba(242,237,230,0.12); }
.imp-featured { border-color: rgba(232,114,58,0.25); background: var(--orange-bg); }
.imp-badge { position: absolute; top: 12px; right: 16px; font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); font-weight: 500; }
.imp-val { font-family: var(--serif); font-size: 2.4rem; font-weight: 400; margin-bottom: 6px; }
.imp-featured .imp-val { color: var(--orange); }
.imp-label { font-size: 0.82rem; color: var(--cream2); font-weight: 300; }
.imp-sub { font-size: 0.75rem; color: var(--cream3); font-weight: 400; margin-top: 4px; }

/* ROLES */
.roles { padding: 120px 48px; max-width: 1100px; margin: 0 auto; }
.roles h2 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; line-height: 1.3; margin-bottom: 56px; }
.roles-list { border-top: 1px solid rgba(242,237,230,0.06); }
.role { display: grid; grid-template-columns: 200px 100px 1fr auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(242,237,230,0.06); transition: 0.3s; }
.role:hover { padding-left: 12px; }
.role-hl { background: var(--orange-bg); padding: 24px 16px; margin: 0 -16px; border-radius: 4px; border-color: transparent; }
.role-title { font-family: var(--serif); font-size: 1.05rem; }
.role-pct { font-size: 0.85rem; color: var(--cream2); }
.role-pct .counter { font-family: var(--serif); font-size: 1.3rem; color: var(--orange); }
.role-desc { font-size: 0.85rem; color: var(--cream3); font-weight: 300; }
.role-cta { font-size: 0.82rem; color: var(--cream3); transition: 0.3s; white-space: nowrap; }
.role-cta:hover { color: var(--orange); }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; }
.contact-text { display: flex; flex-direction: column; justify-content: center; padding: 80px 48px; background: var(--bg2); }
.contact-text h2 { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; line-height: 1.2; margin-bottom: 40px; }
.contact-text a { font-size: 0.95rem; color: var(--cream2); border-bottom: 1px solid var(--cream3); width: fit-content; padding-bottom: 2px; transition: 0.3s; margin-bottom: 8px; }
.contact-text a:hover { color: var(--orange); border-color: var(--orange); }
.contact-text span { font-size: 0.82rem; color: var(--cream3); }
.contact-form { display: flex; flex-direction: column; justify-content: center; padding: 80px 48px; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px 0; background: none; border: none; border-bottom: 1px solid rgba(242,237,230,0.08); color: var(--cream); font-family: var(--sans); font-size: 0.95rem; font-weight: 300; outline: none; transition: 0.3s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--cream3); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--orange); }
.contact-form textarea { resize: none; min-height: 100px; }
.contact-form button { align-self: flex-start; padding: 14px 32px; background: var(--orange); color: var(--bg); border: none; border-radius: 50px; font-family: var(--sans); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { background: var(--orange2); transform: translateY(-2px); }

/* FOOTER */
.footer { display: flex; align-items: center; justify-content: space-between; padding: 32px 48px; border-top: 1px solid rgba(242,237,230,0.05); }
.footer-logo { height: 32px; opacity: 0.5; }
.footer p { font-size: 0.78rem; color: var(--cream3); font-weight: 300; }

/* ANIMATIONS */
.anim { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.anim.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-content { padding: 140px 32px 80px; max-width: 100%; }
    .hero-overlay { background: linear-gradient(180deg, var(--bg) 15%, rgba(14,14,16,0.7) 50%, var(--bg) 100%); }
    .stats-strip { gap: 24px; padding: 20px 32px; }
    .about { grid-template-columns: 1fr; }
    .about-text { padding: 80px 32px; }
    .about-img { height: 50vh; }
    .services { padding: 80px 32px; }
    .service-row { grid-template-columns: 36px 1fr; }
    .svc-desc { grid-column: 1 / -1; }
    .impact { grid-template-columns: 1fr; }
    .impact-img-side { height: 40vh; }
    .impact-img-overlay { background: linear-gradient(180deg, transparent 60%, var(--bg) 100%); }
    .impact-data { padding: 48px 32px; }
    .roles { padding: 80px 32px; }
    .role { grid-template-columns: 1fr 1fr; gap: 8px; }
    .role-desc, .role-cta { grid-column: 1 / -1; }
    .contact { grid-template-columns: 1fr; }
    .contact-text, .contact-form { padding: 48px 32px; }
    .footer { flex-direction: column; gap: 12px; padding: 24px 32px; }
    .nav { padding: 14px 24px; }
    .nav-links { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; flex-direction: column; justify-content: center; background: rgba(14,14,16,0.97); backdrop-filter: blur(20px); padding: 48px; gap: 24px; transition: 0.5s var(--ease); }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1.1rem; }
    .nav-toggle { display: block; z-index: 101; }
}
