/* Narya.ai — Novra split-scroll effect */
:root{
  --bg:#fbfbfb;--text:#0a0a0a;--text2:#555;--text3:#999;
  --accent:#828DF3;--border:#e5e5e5;--radius:16px;
  --font:'proxima-nova',-apple-system,sans-serif;
  --ease:cubic-bezier(.25,1,.5,1);
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;scroll-behavior:smooth;-webkit-font-smoothing:antialiased}
body{font-family:var(--font);color:var(--text);background:var(--bg);overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

/* Cursor — narya symbol white face */


/* ===== SCROLL WRAPPER ===== */
.scroll-wrapper{
  position:relative;will-change:transform,opacity;
  min-height:200vh;
}

/* ===== HERO STICKY ===== */
.hero-sticky{
  position:sticky;top:0;
  height:100vh;
  padding:24px 24px 32px;
  display:flex;flex-direction:column;
  justify-content:space-between;
  z-index:2;transition:opacity .3s ease-out,transform .3s ease-out;
}
.hero-nav{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:10}
.hero-logo{height:56px;width:56px}
.hamburger{background:none;border:none;cursor:pointer;font-family:var(--font);font-size:14px;font-weight:500;color:var(--text);padding:8px 0;z-index:10}

/* Giant text */
.hero-giant{
  font-size:calc((100vw - 48px) * 0.27);
  font-weight:600;
  line-height:1.05;
  letter-spacing:-0.008em;display:flex;
  white-space:nowrap;
  margin-top:-50px;
  z-index:1;
  position:relative;will-change:transform,opacity;
  opacity:0;
  animation:revealGiant .9s var(--ease) .15s forwards;
}

/* Bottom */
.hero-bottom{
  display:flex;justify-content:space-between;align-items:flex-end;gap:40px;
  position:relative;z-index:3;
}
.hero-quote{opacity:0;animation:revealGiant .7s var(--ease) .5s forwards;max-width:680px;font-size:24px;font-weight:700;line-height:1.4}
.hero-scroll{font-size:14px;font-weight:500;color:var(--text2);white-space:nowrap}

/* ===== OUR PRODUCTS ===== */
.our-products{
  padding:60px 24px 60px;position:relative;z-index:5;background:var(--bg);
}


.products-title{
  font-size:clamp(3rem,8vw,7rem);
  font-weight:600;
  text-align:center;
  letter-spacing:-.03em;
  margin-bottom:16px;
}

/* Work rows */
.work-row{
  display:flex;
  align-items:center;
  padding:24px 0;
  
  transition:background .3s;
  gap:24px;
}


.work-row+.work-row{border-top:1px solid var(--border)}
.work-row:hover{cursor:default}
.work-name{
  font-size:clamp(1.5rem,3vw,2.5rem);
  font-weight:600;letter-spacing:-.02em;
  white-space:nowrap;
}
.work-desc{font-size:14px;color:var(--text2);font-weight:500;margin-left:auto}
.work-arrow{font-size:20px;color:var(--text3);transition:transform .3s var(--ease)}
.work-row:hover .work-arrow{transform:translateX(4px);color:var(--text)}





/* ===== MENU ===== */
.menu-overlay{position:fixed;top:0;right:0;bottom:0;width:50vw;height:100vh;z-index:9999;background:#1a1a1a;color:#fff;display:flex;flex-direction:column;justify-content:space-between;padding:48px;transform:translateX(100%);visibility:hidden;transition:transform .4s var(--ease),visibility .4s;box-shadow:-8px 0 40px rgba(0,0,0,.08)}
.menu-overlay.open{transform:translateX(0);visibility:visible}
.menu-close{position:absolute;top:36px;right:48px;background:none;border:none;font-size:36px;font-weight:300;color:#fff;z-index:10;transition:transform .3s var(--ease)}
.menu-close:hover{transform:rotate(90deg)}
.menu-grid{display:flex;flex-direction:column;gap:12px;padding-top:60px}
.menu-item{font-size:clamp(1.6rem,3vw,2.4rem);font-weight:700;display:block;padding:8px 0;transition:opacity .2s}
.menu-item:hover{opacity:.5}
.menu-bottom{margin-top:auto;display:flex;gap:16px}
.menu-card{display:inline-flex;align-items:center;gap:8px;background:#B4D9FF;color:#0a0a0a;padding:16px 24px;border-radius:var(--radius);font-size:14px;font-weight:600;transition:transform .3s var(--ease)}
.menu-card:hover{transform:translateY(-2px)}
.menu-dot{width:8px;height:8px;border-radius:50%;background:var(--accent)}

/* ===== ABOUT ===== */
.about{padding:30px 24px 100px;text-align:center;opacity:0;transform:translateY(60px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.about.visible{opacity:1;transform:none}
.about-title{
  font-size:clamp(3rem,8vw,7rem);font-weight:600;
  text-align:center;letter-spacing:-.03em;margin-bottom:16px;
}
.about-row{
  display:flex;align-items:center;
  padding:24px 0;gap:24px;
  border-top:1px solid var(--border);
}
.about-row:last-of-type{border-bottom:1px solid var(--border)}
.about-left{
  font-size:clamp(1.2rem,2vw,1.6rem);font-weight:600;
  letter-spacing:-.01em;flex-shrink:0;max-width:400px;
}
.about-right{font-size:14px;color:var(--text2);font-weight:500;margin-left:auto;max-width:500px}

/* ===== FOOTER ===== */
.footer{padding:60px 40px 40px;background:#1a1a1a;color:#fff;border-radius:0;margin:0}






.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:20px;font-size:15px;color:#999}

/* ===== RESPONSIVE (mobile) ===== */
@media(max-width:768px){
  /* Hero */
  .hero-sticky{padding:16px 16px 24px}
  .hero-logo{height:40px;width:40px}
  .hero-giant{font-size:calc((100vw - 32px) * 0.28)!important;margin-top:-20px}
  .hero-quote{opacity:0;animation:revealGiant .7s var(--ease) .5s forwards;font-size:16px;max-width:100%}
  .hero-bottom{flex-direction:column;align-items:flex-start;gap:12px}
  .hero-scroll{font-size:12px}

  /* Products */
  .our-products{padding:40px 16px 20px}
  .products-title{font-size:clamp(2rem,12vw,3.5rem);margin-bottom:12px}
  .products-sub{font-size:16px;margin-bottom:40px}
  .work-row{flex-direction:column;align-items:flex-start;gap:8px;padding:20px 0}
  .work-name{font-size:1.4rem}
  .work-desc{margin-left:0;font-size:13px}
  .work-arrow{position:absolute;right:0;top:50%;transform:translateY(-50%)}
  .work-row{position:relative}

  /* Mobile: tap instead of hover for work rows */
  .work-row:active .work-name{transform:translateX(8px)}


  /* About */
  .about{padding:20px 16px 60px}
  .about-title{font-size:clamp(2rem,12vw,3.5rem)}

  /* Menu */
  .menu-overlay{width:100vw}
  .menu-item{font-size:1.4rem}
  .menu-links{padding-top:40px}
  .menu-social-row{margin-top:24px}

  /* Footer */
  .footer{padding:40px 16px 24px;margin:0}
  .footer-bottom{flex-direction:column;gap:8px;text-align:center;font-size:13px}

  /* Scroll wrapper */
  .scroll-wrapper{min-height:160vh}
}

/* Wave text effect */
.hero-giant span{transition:transform .15s ease-out;
  display:inline-block;


}



@keyframes revealGiant{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}

/* Capture mode */
.capture-mode .hero-giant{opacity:1!important;animation:none!important;transform:none!important}
.capture-mode .our-products,.capture-mode .about{opacity:1!important;transform:none!important}
.capture-mode .our-products .anim-in{opacity:1!important;transform:none!important}
.capture-mode .hero-sticky{position:relative!important;height:auto!important;min-height:auto!important}
.capture-mode .scroll-wrapper{min-height:auto!important}

/* Menu layout */
.menu-main{display:flex;justify-content:space-between;align-items:start;flex:1}
.menu-links{display:flex;flex-direction:column;gap:4px;padding-top:60px}
.menu-social{display:flex;flex-direction:column;gap:12px;align-items:center;position:absolute;right:48px;bottom:120px}
.social-icon{
  width:48px;height:48px;border-radius:50%;
  border:1.5px solid #ddd;
  display:flex;align-items:center;justify-content:center;
  color:#999;transition:all .3s var(--ease);
}
.social-icon:hover{background:#1a1a1a;color:#fff;border-color:#0a0a0a}

/* Trailing cursor */
.cursor-follower{background:#FFCE08;border-radius:50%;
  position:fixed;top:0;left:0;
  width:48px;height:48px;
  pointer-events:none;z-index:99999;
  transition:transform .15s ease-out;
}
.cursor-follower img{width:100%;height:100%}
@media(pointer:coarse){
  *,*::before,*::after{cursor:auto!important}
  .cursor-follower{display:none}
}
body.on-work-row .cursor-follower{opacity:0}
.products-sub{text-align:center;font-size:20px;font-weight:500;color:var(--text);margin-bottom:60px}

/* Loader */
.loader{position:fixed;inset:0;z-index:99998;background:var(--bg);display:flex;align-items:center;justify-content:center;transition:opacity .5s var(--ease),visibility .5s}
.loader.hidden{opacity:0;visibility:hidden;pointer-events:none}
.loader-inner{display:flex;flex-direction:column;align-items:center;gap:20px}
.loader-icon{width:40px;animation:loaderPulse 1.2s ease infinite}
@keyframes loaderPulse{0%,100%{opacity:.3;transform:scale(.95)}50%{opacity:1;transform:scale(1)}}
.loader-bar{width:100px;height:2px;background:var(--border);border-radius:2px;overflow:hidden}
.loader-progress{height:100%;background:#0a0a0a;border-radius:2px;width:0;animation:loaderFill 1.2s var(--ease) forwards}
@keyframes loaderFill{to{width:100%}}
.menu-social-row{display:flex;gap:12px;margin-top:16px}
.footer-social-row{display:flex;gap:10px;margin-top:4px;justify-content:center}





/* Global hover icons */
.hover-icon{width:80px;height:80px;
  position:fixed;

  pointer-events:none;
  z-index:99998;
  opacity:0;
  transition:opacity .2s;
}
.hover-icon img{width:100%;height:100%;object-fit:contain}
.hover-icon.active{opacity:1}

/* Hide cursor on work-row */
.work-row:hover{cursor:none!important;background:none}
.work-row:hover *{cursor:none!important}

.footer-follow{text-align:center;margin-bottom:32px}
.footer-follow p{font-size:16px;font-weight:600;color:#fff;margin-bottom:16px}
.social-icon-dark{
  width:40px;height:40px;border-radius:50%;
  background:#fff;color:#0a0a0a;
  display:inline-flex;align-items:center;justify-content:center;
  transition:opacity .2s;
}
.social-icon-dark:hover{opacity:.7}
.work-name{transition:color .3s var(--ease),transform .3s var(--ease)}.work-desc,.work-arrow{transition:color .3s var(--ease)}

.work-row:hover .work-name{transform:translateX(8px)}
.hover-icon img{border-radius:16px}
.our-products .anim-in{opacity:0;transform:translateY(60px);transition:transform .9s cubic-bezier(.16,1,.3,1),opacity .9s cubic-bezier(.16,1,.3,1)}


.anim-ft{opacity:0;transform:translateY(60px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.footer.visible .anim-ft{opacity:1;transform:none}
.footer.visible .anim-ft:nth-child(1){transition-delay:0s}
.footer.visible .anim-ft:nth-child(2){transition-delay:.15s}
.footer.visible .anim-ft:nth-child(3){transition-delay:.3s}
.footer.visible .anim-ft:nth-child(4){transition-delay:.45s}
.footer.visible .anim-ft:nth-child(5){transition-delay:.6s}

/* Unified stagger animation for all sections */
.our-products .anim-in{opacity:0;transform:translateY(60px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.our-products.visible .anim-in{opacity:1;transform:none}
.our-products.visible .anim-in:nth-child(1){transition-delay:0s}
.our-products.visible .anim-in:nth-child(2){transition-delay:.15s}
.our-products.visible .anim-in:nth-child(3){transition-delay:.3s}
.our-products.visible .anim-in:nth-child(4){transition-delay:.45s}

.about .anim-ft{opacity:0;transform:translateY(60px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.about.visible .anim-ft{opacity:1;transform:none}
.about.visible .anim-ft:nth-child(1){transition-delay:0s}
.about.visible .anim-ft:nth-child(2){transition-delay:.15s}
*,*::before,*::after{cursor:none!important}
.footer-logo{filter:invert(1)}
.footer-copy-left{display:inline-flex;align-items:center;gap:6px}
.footer-logo-gray{filter:invert(1);opacity:0.5}
