/* ============================================================
   narayandrolia.com
   ============================================================ */

:root {
  --ink:        #14121a;
  --ink-soft:   #5c5668;
  --ink-faint:  #8d8798;
  --line:       rgba(20,18,26,.09);
  --paper:      #fbfaf9;
  --card:       rgba(255,255,255,.72);

  --fresh:      #00a88a;
  --deep:       #6c4bf5;
  --warm:       #ff6b3d;

  --wrap:       1080px;
  --r:          24px;

  --ease:       cubic-bezier(.16, 1, .3, 1);

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--fresh); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.wrap--narrow { max-width: 720px; }

.section { padding: clamp(90px, 13vw, 160px) 0; position: relative; }
.section--tint { background: #f4f2f0; border-block: 1px solid var(--line); }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--fresh); margin-bottom: 18px;
}

.h2 {
  font-size: clamp(34px, 5.6vw, 62px);
  font-weight: 700; letter-spacing: -.038em; line-height: 1.06;
  margin-bottom: 46px;
}

.lead { font-size: clamp(17px, 2vw, 21px); line-height: 1.62; color: var(--ink); }
p + p { margin-top: 17px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 15px clamp(20px, 4vw, 42px);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s;
}
.nav.is-stuck {
  background: rgba(251,250,249,.82);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(20,18,26,.05);
}
.nav__brand { font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 15.5px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 100px; transition: color .22s, background .22s;
}
.nav__links a:hover { color: var(--ink); background: rgba(20,18,26,.05); }
.nav__cta {
  background: var(--ink) !important; color: #fff !important;
  padding: 9px 20px !important;
}
.nav__cta:hover { transform: translateY(-1px); }

/* ============================================================
   MESH BACKGROUND
   ============================================================ */
.mesh {
  position: absolute; inset: -10%;
  background:
    radial-gradient(52vw 52vw at 14% 22%, rgba(0,168,138,.42),  transparent 62%),
    radial-gradient(48vw 48vw at 86% 26%, rgba(108,75,245,.34), transparent 62%),
    radial-gradient(46vw 46vw at 50% 92%, rgba(255,107,61,.26), transparent 62%);
  filter: blur(58px);
  animation: meshDrift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
.mesh--soft { opacity: .55; }

@keyframes meshDrift {
  50%  { transform: translate3d(-3%, 2%, 0) scale(1.12); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.04); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 110px 22px 90px;
  overflow: hidden;
}
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: 880px; }

.sheet {
  background: var(--card);
  backdrop-filter: blur(26px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 34px;
  padding: clamp(30px, 4.6vw, 58px);
  box-shadow: 0 40px 90px rgba(40,20,70,.14), 0 2px 6px rgba(40,20,70,.05);
  transform-style: preserve-3d;
  transition: transform .45s var(--ease);
}

.sheet__row { display: flex; align-items: center; gap: clamp(20px, 3.4vw, 34px); flex-wrap: wrap; }

.avatar {
  position: relative; flex: 0 0 auto;
  width: clamp(88px, 12vw, 116px); aspect-ratio: 1; border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,168,138,.3);
  animation: floaty 7s ease-in-out infinite;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar__fallback {
  position: absolute; inset: 0;
  place-items: center;
  background: linear-gradient(135deg, var(--fresh), var(--deep));
  color: #fff; font-size: clamp(30px, 4vw, 40px); font-weight: 700; letter-spacing: -.02em;
}
@keyframes floaty { 50% { transform: translateY(-9px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px;
}
.pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--fresh);
  box-shadow: 0 0 0 0 rgba(0,168,138,.65);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 11px rgba(0,168,138,0); }
  100% { box-shadow: 0 0 0 0  rgba(0,168,138,0); }
}

.hero__name {
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 700; letter-spacing: -.045em; line-height: .98;
  display: flex; flex-wrap: wrap; gap: 0 .28em;
}
.mask { display: block; overflow: hidden; padding-bottom: .06em; }
.rise { display: block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.d1 { animation-delay: .12s; }
.d2 { animation-delay: .24s; }
@keyframes rise { to { transform: translateY(0); } }

.hero__role {
  margin-top: 16px; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.6;
  color: var(--ink-soft); max-width: 46ch;
  opacity: 0; animation: fadeUp .9s var(--ease) .5s forwards;
}
.hero__role strong { color: var(--ink); font-weight: 600; }

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

/* stats */
.stats {
  margin-top: clamp(30px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  opacity: 0; animation: fadeUp .9s var(--ease) .68s forwards;
}
.stat {
  padding: 20px 22px; border-radius: 18px;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.9);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(40,20,70,.1); }
.stat__n {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 700; letter-spacing: -.035em;
  font-variant-numeric: tabular-nums; line-height: 1.1;
}
.plus { color: var(--fresh); }
.stat__l {
  margin-top: 6px; font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint);
}

/* buttons */
.hero__btns, .contact__btns { margin-top: clamp(26px, 3.4vw, 36px); display: flex; gap: 12px; flex-wrap: wrap; }
.contact__btns { margin-top: 34px; }

.btn {
  display: inline-block; text-decoration: none;
  padding: 14px 30px; border-radius: 100px;
  font-size: 15px; font-weight: 600; letter-spacing: -.005em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s;
  will-change: transform;
}
.btn--primary {
  background: var(--ink); color: #fff;
  box-shadow: 0 10px 26px rgba(20,18,26,.22);
}
.btn--primary:hover { box-shadow: 0 16px 36px rgba(20,18,26,.3); }
.btn--ghost { border: 1px solid rgba(20,18,26,.16); color: var(--ink); }
.btn--ghost:hover { background: rgba(20,18,26,.045); }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(20,18,26,.2); border-radius: 100px;
  z-index: 2;
  opacity: 0; animation: fadeUp .9s var(--ease) 1.3s forwards;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; margin-left: -2px;
  width: 4px; height: 7px; border-radius: 4px; background: var(--ink-faint);
  animation: cue 1.9s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(13px); } }

/* ============================================================
   STORY
   ============================================================ */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 54px); }
.story__col p { color: var(--ink-soft); }
.story__col .lead { color: var(--ink); font-weight: 450; }
.story strong { color: var(--ink); font-weight: 600; }

.pull {
  margin-top: clamp(44px, 6vw, 70px);
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r);
  background: linear-gradient(135deg, rgba(0,168,138,.09), rgba(108,75,245,.08));
  border: 1px solid rgba(0,168,138,.16);
  border-left: 3px solid var(--fresh);
}
.pull p { font-size: clamp(18px, 2.3vw, 24px); line-height: 1.5; letter-spacing: -.02em; font-weight: 450; }

/* ============================================================
   VENTURES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }

.card {
  padding: clamp(26px, 3.4vw, 38px);
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(40,20,70,.11); }

.card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.card__mark {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center;
  font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -.01em;
}
.card__mark--fresh  { background: linear-gradient(135deg, var(--fresh), #00c9a0); box-shadow: 0 8px 20px rgba(0,168,138,.32); }
.card__mark--legacy { background: linear-gradient(135deg, var(--deep), #9b7bff);  box-shadow: 0 8px 20px rgba(108,75,245,.3); }

.chip {
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 100px;
  background: rgba(20,18,26,.05); color: var(--ink-soft);
}
.chip--live { background: rgba(0,168,138,.12); color: #00806a; }

.card h3 { font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.card__role { font-size: 13.5px; font-weight: 600; color: var(--fresh); margin: 3px 0 14px; }
.card > p:not(.card__role) { color: var(--ink-soft); font-size: 15.5px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tags li {
  font-size: 12.5px; font-weight: 500; color: var(--ink-soft);
  padding: 5px 12px; border-radius: 8px;
  background: #f4f2f0; border: 1px solid var(--line);
}

/* ============================================================
   TIMELINE
   ============================================================ */
.tl { list-style: none; position: relative; padding-left: 34px; }
.tl::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--fresh), var(--deep), transparent);
  opacity: .3;
}
.tl__item { position: relative; padding-bottom: 42px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__dot {
  position: absolute; left: -34px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--fresh);
}
.tl__item--now .tl__dot { background: var(--fresh); box-shadow: 0 0 0 5px rgba(0,168,138,.16); }
.tl__when {
  font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 5px;
}
.tl__what { font-size: 21px; font-weight: 650; letter-spacing: -.025em; margin-bottom: 7px; }
.tl__item > p:last-child { color: var(--ink-soft); font-size: 15.5px; max-width: 60ch; }

/* ============================================================
   CONTACT + FOOTER
   ============================================================ */
.section--contact { position: relative; overflow: hidden; text-align: center; }
.section--contact .wrap { position: relative; z-index: 2; }
.section--contact .kicker,
.section--contact .h2 { display: block; }
.section--contact .h2 { margin-bottom: 20px; }
.section--contact .lead { color: var(--ink-soft); max-width: 48ch; margin: 0 auto; }
.contact__btns { justify-content: center; }

.footer { border-top: 1px solid var(--line); padding: 30px 0; }
.footer__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--ink-faint);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .story { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 12px 16px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .sheet__row { flex-direction: column; align-items: flex-start; text-align: left; }
  .stats { grid-template-columns: 1fr; }
  .hero__btns .btn, .contact__btns .btn { flex: 1 1 auto; text-align: center; }
  .scroll-cue { display: none; }
}

/* ============================================================
   MOTION / CONTRAST PREFERENCES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rise { transform: none; }
  .hero__role, .stats, .scroll-cue { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .mesh { animation: none; }
}

/* ============================================================
   BRAND TAGS · CARD LINK · CONTACT EMAIL · SOCIAL  (added)
   ============================================================ */
.tags-label {
  margin-top: 22px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint);
}
.tags--brand { margin-top: 10px; }
.tags--brand li {
  position: relative; padding-left: 24px;
  font-weight: 600; color: var(--ink); background: #fff;
}
.tags--brand li::before {
  content: ""; position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
}
.t-amazon::before    { background: #ff9900; }
.t-flipkart::before  { background: #2874f0; }
.t-blinkit::before   { background: #f8cb46; }
.t-instamart::before { background: #fc8019; }

.tags--brand a { color: inherit; text-decoration: none; display: block; }
.tags--brand .is-link {
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease);
}
.tags--brand .is-link:hover {
  border-color: rgba(0,168,138,.45);
  box-shadow: 0 5px 14px rgba(40,20,70,.10);
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .tags--brand .is-link:hover { transform: none; }
}

.card__link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 24px; font-size: 14.5px; font-weight: 650;
  color: var(--fresh); text-decoration: none;
  transition: gap .25s var(--ease), color .2s;
}
.card__link span { transition: transform .25s var(--ease); }
.card__link:hover { color: #00806a; }
.card__link:hover span { transform: translate(3px, -3px); }

.contact__email { margin-top: 24px; font-size: 15.5px; }
.contact__email a {
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 1px solid var(--line); padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.contact__email a:hover { color: var(--fresh); border-color: var(--fresh); }

.footer__inner { align-items: center; }
.footer__meta p { margin: 0; }
.footer__meta p + p { margin-top: 2px; }
.social { display: flex; gap: 8px; }
.social a {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  color: var(--ink-soft);
  border: 1px solid var(--line); background: #fff;
  transition: color .22s, transform .22s var(--ease), border-color .22s, box-shadow .22s;
}
.social a:hover {
  color: var(--fresh); border-color: rgba(0,168,138,.4);
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,168,138,.16);
}
@media (prefers-reduced-motion: reduce) {
  .card__link:hover span, .social a:hover { transform: none; }
}
