/* ── Reset & Core Structural Bases ────────────────────────────── */
*, *::before, *::after { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body {
    background: #0A0A0A;
    color: #FFFFFF;
    font-family: 'Google Sans Flex', 'Nunito', system-ui, sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* ── WebGL Pixi Canvas Backing Node ──────────────────────────── */
#pixi-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── Customized Hardware Cursor Pipeline ───────────────────────── */
#cur-dot, #cur-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

#cur-dot { 
    width: 8px; 
    height: 8px; 
    background: #FFFFFF; 
}

#cur-ring {
    width: 36px; 
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: width .25s, height .25s, border-color .25s;
}

body:has(a:hover) #cur-ring,
body:has(button:hover) #cur-ring {
    width: 52px; 
    height: 52px;
    border-color: #00BFFF;
}

body:has(a:hover) #cur-dot { 
    background: #00BFFF; 
}

/* ── Webkit Scroll Engine Modifications ─────────────────────── */
::-webkit-scrollbar { 
    width: 3px; 
}

::-webkit-scrollbar-track { 
    background: #0A0A0A; 
}

::-webkit-scrollbar-thumb { 
    background: #00BFFF; 
}

/* ── Brutalist Analog Grain Noise Filter Overlay ────────────────── */
body::after {
    content: '';
    position: fixed; 
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: .022;
    pointer-events: none;
    z-index: 1;
}

#app { 
    position: relative; 
    z-index: 2; 
}

/* ── Sticky Minimalist Navigation Bar ─────────────────────────── */
nav {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0;
    z-index: 100;
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 28px 56px;
    transition: background .35s, border-color .35s, backdrop-filter .35s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, .88);
    border-color: #1E1E1E;
    backdrop-filter: blur(18px);
}

.nav-brand {
    font-weight: 800; 
    font-size: 13px;
    letter-spacing: .18em; 
    color: #FFFFFF;
    text-decoration: none; 
    text-transform: uppercase;
}

.nav-links { 
    display: flex; 
    gap: 36px; 
    list-style: none; 
}

.nav-links a {
    font-weight: 500; 
    font-size: 12px;
    letter-spacing: .18em; 
    color: #8A8A8A;
    text-decoration: none; 
    text-transform: uppercase;
    transition: color .2s; 
    position: relative;
}

.nav-links a::after {
    content: ''; 
    position: absolute; 
    bottom: -4px; 
    left: 0;
    width: 0; 
    height: 1px; 
    background: #00BFFF;
    transition: width .3s ease;
}

.nav-links a:hover { 
    color: #FFFFFF; 
}

.nav-links a:hover::after { 
    width: 100%; 
}

/* ── Hero Presentation Section ────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end;
    padding: 0 56px 80px;
}

.hero-spacer { 
    height: clamp(100px, 18vh, 200px); 
}

/* Update your CSS variables for the hero headline section */

.hero-headline {
    font-size: clamp(44px, 6.8vw, 92px);
    font-weight: 800;
    line-height: 1.02; /* Kept tight so the lines feel cohesive */
    letter-spacing: -0.03em;
    text-transform: uppercase;
    max-width: 1100px;
}

/* Force line 1 to break cleanly */
.hero-headline .static-line-1 {
    display: block;
    color: #FFFFFF;
}

/* Force line 2 to break cleanly */
.hero-headline .static-line-2 {
display: inline-block !important;  /* Preserves inline breaking flow alongside your <br> tags */
  font-family: 'Google Sans Flex', 'Nunito', system-ui, sans-serif !important;
  font-weight: 900 !important;       /* Critical: guarantees it matches line 1 and 3 thickness */
  letter-spacing: inherit !important;
  
  /* Core layout properties to achieve the clean hollow result */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important; /* Empties text inner body fill completely */
  -webkit-text-stroke: 1.5px #ffffff !important;   /* Hardcodes your clean white outline border */
}

/* Ensure the kinetic dynamic words fall perfectly onto line 3 */
.hero-headline .word-swap-wrap {
    display: block;
    overflow: hidden;
    color: #00BFFF;
    margin-top: 2px; /* Gives a tiny micro-spacing below 'high grade' */
}

.swap-word {
    display: block;
    transform-style: preserve-3d;
}

.hero-sub {
    margin-top: 28px;
    font-size: 14px; 
    font-weight: 500;
    letter-spacing: .14em; 
    color: #8A8A8A;
    text-transform: uppercase;
    display: flex; 
    align-items: center; 
    gap: 16px; 
    flex-wrap: wrap;
}

.hero-sub .sep { 
    color: #1E1E1E; 
}

.hero-actions { 
    margin-top: 40px; 
    display: flex; 
    gap: 16px; 
}

/* ── Design Buttons ─────────────────────────────────────────── */
.btn-p {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    padding: 15px 32px; 
    background: #FFFFFF; 
    color: #0A0A0A;
    font-family: inherit; 
    font-weight: 700; 
    font-size: 12px;
    letter-spacing: .15em; 
    text-transform: uppercase;
    text-decoration: none; 
    border: none; 
    border-radius: 0;
    cursor: none; 
    position: relative; 
    overflow: hidden;
    transition: gap .3s;
}

.btn-p::before {
    content: ''; 
    position: absolute; 
    inset: 0;
    background: #00BFFF; 
    transform: scaleX(0); 
    transform-origin: left;
    transition: transform .4s cubic-bezier(.23, 1, .32, 1);
}

.btn-p:hover::before { 
    transform: scaleX(1); 
}

.btn-p:hover { 
    gap: 18px; 
}

.btn-p > * { 
    position: relative; 
    z-index: 1; 
}

.btn-g {
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    padding: 14px 32px; 
    background: transparent; 
    color: #FFFFFF;
    font-family: inherit; 
    font-weight: 500; 
    font-size: 12px;
    letter-spacing: .15em; 
    text-transform: uppercase;
    text-decoration: none; 
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0; 
    cursor: none;
    transition: border-color .2s, color .2s;
}

.btn-g:hover { 
    border-color: #FFFFFF; 
}

/* ── Section Structure Utilities ────────────────────────────── */
.s-label {
    display: flex; 
    align-items: center; 
    gap: 12px;
    font-size: 10px; 
    font-weight: 700;
    letter-spacing: .28em; 
    text-transform: uppercase; 
    color: #8A8A8A;
    margin-bottom: 60px;
}

.s-label::before {
    content: ''; 
    width: 24px; 
    height: 1px; 
    background: #8A8A8A;
}

.s-heading {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800; 
    letter-spacing: -0.02em;
    line-height: 1.12; 
    text-transform: uppercase; 
    margin-bottom: 60px;
}

.h-line { 
    border: none; 
    border-top: 1px solid #1E1E1E; 
    margin: 0; 
}

/* ── Kinetic Typography Marquees ──────────────────────────────── */
.marquee-wrap {
    border-top: 1px solid #1E1E1E;
    border-bottom: 1px solid #1E1E1E;
    padding: 22px 0; 
    overflow: hidden;
}

.marquee-track {
    display: flex; 
    white-space: nowrap;
    animation: ticker 24s linear infinite;
}

.marquee-track:hover { 
    animation-play-state: paused; 
}

.m-item {
    display: inline-flex; 
    align-items: center; 
    gap: 28px;
    padding: 0 28px; 
    flex-shrink: 0;
    font-size: 13px; 
    font-weight: 700;
    letter-spacing: .2em; 
    text-transform: uppercase;
    color: transparent; 
    -webkit-text-stroke: 1px #FFFFFF;
}

.m-dot { 
    width: 5px; 
    height: 5px; 
    background: #00BFFF; 
    border-radius: 50%; 
    -webkit-text-stroke: 0; 
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Interactive Scroll Accordions (Services & Experience) ────── */
.acc-section { 
    padding: 100px 56px; 
    border-top: 1px solid #1E1E1E; 
}

.acc-item {
    border-top: 1px solid #1E1E1E;
    position: relative; 
    overflow: hidden;
    transition: padding .4s ease;
}

.acc-item:last-child { 
    border-bottom: 1px solid #1E1E1E; 
}

.acc-header {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center; 
    gap: 24px;
    padding: 28px 0;
    cursor: none;
}

.acc-num {
    font-size: 11px; 
    font-weight: 700;
    letter-spacing: .18em; 
    color: #8A8A8A;
    transition: color .3s;
}

.acc-title {
    font-size: clamp(18px, 2.6vw, 28px);
    font-weight: 700; 
    letter-spacing: -.01em;
    text-transform: uppercase; 
    color: rgba(255, 255, 255, .6);
    transition: color .35s;
}

.acc-tag {
    font-size: 11px; 
    font-weight: 500;
    letter-spacing: .12em; 
    text-transform: uppercase;
    color: #8A8A8A; 
    transition: color .3s;
}

.acc-body {
    display: grid; 
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s cubic-bezier(.23, 1, .32, 1);
    padding-left: 104px;
}

.acc-body-inner { 
    overflow: hidden; 
}

.acc-body-content {
    padding-bottom: 32px;
    font-size: 15px; 
    font-weight: 400;
    color: #8A8A8A; 
    line-height: 1.8;
    max-width: 680px;
}

.acc-item.active .acc-body           { grid-template-rows: 1fr; }
.acc-item.active .acc-title          { color: #FFFFFF; }
.acc-item.active .acc-num            { color: #00BFFF; }
.acc-item.active .acc-tag            { color: #00BFFF; }
.acc-item.active .acc-body-content em { color: #00BFFF; font-style: normal; font-weight: 600; }

.acc-bar {
    position: absolute; 
    left: 0; 
    top: 0;
    width: 2px; 
    height: 0; 
    background: #00BFFF;
    transition: height .45s cubic-bezier(.23, 1, .32, 1);
}

.acc-item.active .acc-bar { 
    height: 100%; 
}

/* ── Single View Testimonials Stage ───────────────────────────── */
#testimonials { 
    padding: 100px 56px; 
    border-top: 1px solid #1E1E1E; 
}

.testi-viewport { 
    position: relative; 
    overflow: hidden; 
    min-height: 240px; 
}

.testi-slide {
    position: absolute; 
    inset: 0;
    display: flex; 
    flex-direction: column; 
    justify-content: center;
    opacity: 0; 
    transform: translateY(30px);
    transition: none; 
    pointer-events: none;
}

.testi-slide.active {
    opacity: 1; 
    transform: translateY(0);
    position: relative; 
    pointer-events: auto;
}

.testi-quote {
    font-size: clamp(18px, 2.8vw, 32px);
    font-weight: 700; 
    line-height: 1.4;
    letter-spacing: -.01em; 
    color: #FFFFFF;
    margin-bottom: 28px;
}

.testi-quote::before { content: '\201C'; color: #00BFFF; }
.testi-quote::after  { content: '\201D'; color: #00BFFF; }

.testi-author { 
    font-size: 13px; 
    font-weight: 600; 
    letter-spacing: .12em; 
    text-transform: uppercase; 
    color: #00BFFF; 
}

.testi-role { 
    font-size: 12px; 
    font-weight: 400; 
    letter-spacing: .1em;  
    text-transform: uppercase; 
    color: #8A8A8A; 
    margin-top: 4px; 
}

.testi-dots { 
    display: flex; 
    gap: 10px; 
    margin-top: 40px; 
}

.t-dot {
    width: 28px; 
    height: 2px; 
    background: #1E1E1E;
    cursor: none; 
    transition: background .25s, width .25s;
}

.t-dot.on { 
    background: #00BFFF; 
    width: 44px; 
}

/* ── Foot Terminal Grid ──────────────────────────────────────── */
footer {
    border-top: 1px solid #1E1E1E;
    padding: 32px 56px;
    display: flex; 
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap; 
    gap: 16px;
}

.f-brand { 
    font-size: 12px; 
    font-weight: 800; 
    letter-spacing: .18em; 
    color: #8A8A8A; 
    text-transform: uppercase; 
}

.f-copy { 
    font-size: 11px; 
    color: rgba(138, 138, 138, .45); 
    letter-spacing: .08em; 
}

.f-links { 
    display: flex; 
    gap: 24px; 
}

.f-links a {
    font-size: 11px; 
    font-weight: 500; 
    letter-spacing: .14em;
    text-transform: uppercase; 
    color: #8A8A8A; 
    text-decoration: none;
    transition: color .2s;
}

.f-links a:hover { 
    color: #FFFFFF; 
}

/* ── Layout Fallback Motion States ──────────────────────────────── */
.fu { 
    opacity: 0; 
    transform: translateY(36px); 
}

.fu.vis { 
    opacity: 1; 
    transform: translateY(0); 
    transition: opacity .8s cubic-bezier(.23, 1, .32, 1), transform .8s cubic-bezier(.23, 1, .32, 1); 
}

/* ── Standard Adaptive Layout Viewports ────────────────────────── */
@media(max-width: 768px) {
    nav { padding: 20px 24px; }
    .nav-links { gap: 20px; }
    .hero { padding: 0 24px 60px; }
    .acc-section { padding: 80px 24px; }
    #testimonials { padding: 80px 24px; }
    footer { padding: 24px; flex-direction: column; text-align: center; }
    .acc-header { grid-template-columns: 48px 1fr; }
    .acc-tag { display: none; }
    .acc-body { padding-left: 72px; }
}

@media(max-width: 480px) {
    .hero-headline { font-size: clamp(36px, 9.5vw, 56px); }
    .nav-links { display: none; }
}

.contact-section {
  border-top: 1px solid var(--border);
  padding: 120px 56px;
  position: relative; 
  overflow: hidden;
}

.contact-bg {
  position: absolute; 
  bottom: -100px; 
  right: -100px;
  width: 500px; 
  height: 500px;
  background: radial-gradient(circle, rgba(0,255,102,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner { 
  max-width: 800px; 
}

.contact-heading {
  font-family: 'Google Sans Flex', 'Nunito', system-ui, sans-serif !important;
  font-size: clamp(40px, 6vw, 80px) !important;
  font-weight: 900 !important;       /* Locks down your heavy extra-bold agency look */
  letter-spacing: -0.03em !important;
  line-height: 1.05 !important;      /* Tightens the stacked layout spacing nicely */
  text-transform: uppercase !important;
  margin-bottom: 40px;
  color: var(--white) !important;    /* Forces line 1 and 3 to stay crisp white */
}

/* Hard-coded solid white lines to safeguard visibility */
.contact-heading .solid-line {
  display: block;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #FFFFFF !important; 
  line-height: 1.0;
}

/* Handles responsive scaling for the hollow layout line */
.contact-heading .hollow-svg-text {
  display: block;
  max-width: 540px; /* Limits scale width so it matches perfectly with surrounding lines */
  overflow: visible;
}

/* Standardized Vector Outline parameters */
.contact-heading .outline  {
  display: inline-block !important;  /* Preserves inline breaking flow alongside your <br> tags */
  font-family: 'Google Sans Flex', 'Nunito', system-ui, sans-serif !important;
  font-weight: 900 !important;       /* Critical: guarantees it matches line 1 and 3 thickness */
  letter-spacing: inherit !important;
  
  /* Core layout properties to achieve the clean hollow result */
  color: transparent !important;
  -webkit-text-fill-color: transparent !important; /* Empties text inner body fill completely */
  -webkit-text-stroke: 1.5px #ffffff !important;   /* Hardcodes your clean white outline border */
}

.contact-sub {
  font-size: 16px; 
  color: var(--gray);
  line-height: 1.7; 
  margin-bottom: 48px;
  max-width: 480px;
}

.contact-row { 
  display: flex; 
  gap: 16px; 
  align-items: center; 
  flex-wrap: wrap; 
}

.contact-email {
  font-size: 14px; 
  font-weight: 500;
  letter-spacing: 0.1em; 
  color: var(--gray);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.contact-email:hover { 
  color: var(--white); 
  border-color: var(--white); 
}

/* ─── FOOTER ────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 56px;
  display: flex; align-items: center;
  justify-content: space-between;
}
.footer-brand {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--gray);
}
.footer-copy {
  font-size: 12px; color: rgba(138,138,138,0.5);
  letter-spacing: 0.08em;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gray); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

/* ─── ANIMATIONS ────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-available { display: none; }
  section { padding: 80px 24px; }
  .hero { padding: 0 24px 60px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { aspect-ratio: 16/9; }
  .services-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-strip { grid-template-columns: 1fr; padding: 60px 24px; gap: 40px; }
  .service-item { grid-template-columns: 60px 1fr; }
  .service-arrow { display: none; }
  footer { padding: 24px; flex-direction: column; gap: 16px; text-align: center; }
  .contact-section { padding: 80px 24px; }
}