:root {
    --c-bg: #0e0d0b; --c-bg-2: #14110d; --c-kraft: #b08642; --c-kraft-d: #7a5a2e;
    --c-beige: #e8dcc4; --c-paper: #d9c9a8; --c-off: #f4ecdc; --c-gold: #d4af37;
    --c-gold-soft: #c8a456; --c-line: rgba(212, 175, 55, 0.18); --c-text: #f4ecdc;
    --c-text-mute: rgba(244, 236, 220, 0.62); --c-overlay: rgba(8, 7, 6, 0.55);
    --c-overlay-2: rgba(8, 7, 6, 0.72); --f-sans: "Vazirmatn", "Tahoma", sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-text); font-family: var(--f-sans); font-weight: 400; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--c-gold); color: #0e0d0b; }
img, video { max-width: 100%; display: block; }
a { color: var(--c-gold-soft); text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--c-gold); }
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 22px 5vw; transition: padding .4s var(--ease), background .4s var(--ease); background: linear-gradient(to bottom, rgba(8,7,6,0.6), transparent); }
.site-nav.nav-scrolled { padding: 12px 5vw; background: rgba(10, 9, 8, 0.95); border-bottom: 1px solid var(--c-line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1500px; margin: 0 auto; }
.brand { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 700; font-size: 17px; color: var(--c-off); }
.brand-text { color: var(--c-off); }
.brand-accent { color: var(--c-gold-soft); font-weight: 500; }
.nav-menu { display: flex; gap: 30px; align-items: center; }
.nav-link { color: var(--c-text-mute); font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; }
.nav-link::after { content: ''; position: absolute; bottom: -2px; right: 0; width: 0; height: 1px; background: var(--c-gold); transition: width .35s var(--ease); }
.nav-link:hover { color: var(--c-off); }
.nav-link:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; width: 32px; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--c-off); transition: transform .35s var(--ease), opacity .25s var(--ease); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.video-section { position: relative; z-index: 1; background: var(--c-bg); }
.video-sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; background: #0a0908; }

.cinematic-poster { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 1; opacity: 1; transition: opacity .6s var(--ease); }
.video-section.video-ready .cinematic-poster { opacity: 0; }
.video-section.video-error .cinematic-poster, .video-section.video-missing .cinematic-poster, .video-section.video-disabled .cinematic-poster, .video-section.video-loading-slow .cinematic-poster { opacity: 1; }

.cinematic-video { 
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; 
    z-index: 2; background: transparent; 
    transform: translateZ(0); 
    will-change: transform, opacity;
    backface-visibility: hidden;
}
.video-overlay { position: absolute; inset: 0; z-index: 3; background: linear-gradient(to bottom, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0.15) 35%, rgba(8,7,6,0.45) 75%, rgba(8,7,6,0.85) 100%), radial-gradient(ellipse at 70% 50%, rgba(176, 134, 66, 0.08), transparent 60%); pointer-events: none; }
.video-content { position: absolute; z-index: 4; inset: 0; padding: 90px 7vw 70px; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.video-content > * { pointer-events: auto; }
.video-content--hero { align-items: flex-start; text-align: right; max-width: 760px; }
.video-content--center { align-items: center; text-align: center; }
.video-content--side { max-width: 560px; }
.video-content--right { align-items: flex-start; margin-right: 7vw; }
.video-content--left { align-items: flex-start; margin-left: 7vw; }
.video-eyebrow { font-size: 12px; letter-spacing: 2px; color: var(--c-gold-soft); margin: 0 0 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.video-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--c-gold); display: inline-block; }
.video-content--center .video-eyebrow::before { display: none; }
.video-headline { font-size: clamp(28px, 5.2vw, 68px); line-height: 1.18; font-weight: 700; color: var(--c-off); margin: 0 0 24px; letter-spacing: -.5px; }
.video-text { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.95; color: var(--c-text); margin: 0 0 16px; max-width: 640px; text-shadow: 0 1px 18px rgba(0,0,0,0.4); }
.video-subtext { font-size: clamp(13px, 1.05vw, 15px); color: var(--c-text-mute); margin: 0 0 14px; max-width: 580px; text-shadow: 0 1px 14px rgba(0,0,0,0.4); }
.tech-labels { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tech-labels li { font-size: 12px; letter-spacing: .5px; color: var(--c-beige); padding: 6px 14px; border: 1px solid var(--c-line); background: rgba(20, 17, 13, 0.85); font-weight: 500; }
.scroll-indicator { margin-top: 50px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; color: var(--c-text-mute); font-size: 11px; letter-spacing: 1.5px; }
.scroll-indicator-line { width: 1px; height: 60px; background: linear-gradient(to bottom, var(--c-gold), transparent); position: relative; overflow: hidden; }
.scroll-indicator-line::after { content: ''; position: absolute; top: -30%; left: 0; width: 100%; height: 30%; background: var(--c-gold); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0% { top: -30%; } 100% { top: 100%; } }
.cta-group { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 30px; font-size: 14px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: all .35s var(--ease); font-family: inherit; }
.btn-primary { background: var(--c-gold); color: #0e0d0b; border-color: var(--c-gold); }
.btn-primary:hover { background: transparent; color: var(--c-gold); }
.btn-ghost { background: transparent; color: var(--c-off); border-color: var(--c-line); }
.btn-ghost:hover { border-color: var(--c-gold); color: var(--c-gold); }

.reveal { opacity: 0; transform: translateY(40px); }

.contact-section { position: relative; z-index: 2; background: var(--c-bg-2); padding: 120px 7vw; border-top: 1px solid var(--c-line); }
.contact-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.contact-eyebrow { color: var(--c-gold-soft); font-size: 12px; letter-spacing: 2px; margin: 0 0 18px; }
.contact-title { font-size: clamp(28px, 4.5vw, 52px); font-weight: 700; color: var(--c-off); margin: 0 0 22px; line-height: 1.2; }
.contact-text { color: var(--c-text-mute); max-width: 640px; margin: 0 auto 60px; font-size: 16px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; max-width: 900px; margin: 0 auto; }
.contact-item { display: flex; flex-direction: column; gap: 10px; padding: 28px 22px; border: 1px solid var(--c-line); background: rgba(20, 17, 13, 0.4); transition: border-color .4s var(--ease), transform .4s var(--ease); }
.contact-item:hover { border-color: var(--c-gold-soft); transform: translateY(-4px); }
.contact-label { color: var(--c-gold-soft); font-size: 12px; letter-spacing: 1.5px; }
.contact-value { color: var(--c-off); font-size: 16px; font-weight: 500; line-height: 1.6; }
.site-footer { background: var(--c-bg); padding: 60px 7vw 40px; border-top: 1px solid var(--c-line); text-align: center; position: relative; z-index: 2; }
.footer-brand { font-size: 18px; font-weight: 700; color: var(--c-off); margin-bottom: 10px; }
.footer-tag { color: var(--c-text-mute); font-size: 13px; margin: 0 0 24px; }
.footer-copy { color: rgba(244, 236, 220, 0.4); font-size: 12px; margin: 0; letter-spacing: .5px; }
@media (max-width: 900px) {
    .nav-menu { position: fixed; top: 0; right: 0; height: 100vh; width: 75%; max-width: 320px; background: rgba(10, 9, 8, 0.97); flex-direction: column; justify-content: center; gap: 26px; padding: 80px 30px; transform: translateX(100%); transition: transform .45s var(--ease); z-index: 99; }
    .nav-menu.open { transform: translateX(0); }
    .nav-link { font-size: 18px; }
    .nav-toggle { display: flex; z-index: 101; }
    .video-content--right, .video-content--left { margin: 0; }
    .video-content { padding: 80px 6vw 50px; }
    .video-content--hero { align-items: flex-start; }
    .video-content--side { max-width: 100%; }
    .contact-section { padding: 80px 6vw; }
}
@media (max-width: 600px) {
    .video-headline { font-size: clamp(24px, 7vw, 38px); }
    .video-text { font-size: 14px; }
    .video-subtext { font-size: 13px; }
    .tech-labels li { font-size: 11px; padding: 5px 10px; }
    .cta-group { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; }
    .scroll-indicator-line::after { animation: none; }
    * { scroll-behavior: auto !important; }
}
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-nav { top: 46px; } }