:root {
  --bg: #0a0a0b;
  --bg-2: #121214;
  --ink: #f1ece2;
  --muted: #9a958c;
  --line: rgba(241, 236, 226, 0.12);
  --accent: #ff5a1f;
  --accent-2: #ffb547;
  --glass: rgba(20, 20, 22, 0.55);
  --radius: 22px;
  --display: "Syne", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--accent); }
.mono { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; }
::selection { background: var(--accent); color: #000; }

/* Canvas + overlays */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{background-position:0 0} 25%{background-position:-40px 30px} 50%{background-position:30px -40px} 75%{background-position:-30px -15px} 100%{background-position:0 0} }
main, .footer, .nav { position: relative; z-index: 2; }

.cursor {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px; z-index: 100; pointer-events: none;
  border: 1px solid var(--ink); border-radius: 50%; transform: translate(-50%, -50%);
  transition: width .3s, height .3s, background .3s, border-color .3s; mix-blend-mode: difference;
}
.cursor.is-hover { width: 74px; height: 74px; background: var(--ink); }
@media (hover: none) { .cursor { display: none; } }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  transition: opacity .8s ease, visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader__count { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 14vw, 170px); line-height: 1; }
.loader__label { font-family: var(--mono); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Nav */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10,10,11,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav__logo span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #000; font-family: var(--display); font-weight: 800; font-size: 15px;
}
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav__burger i { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .3s; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid var(--accent);
  background: var(--accent); color: #0a0a0b; font-weight: 600; font-size: 15px; cursor: pointer;
  font-family: var(--body); transition: background .25s, color .25s, transform .25s;
  will-change: transform;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #0a0a0b; }
.btn--small { padding: 10px 18px; font-size: 14px; }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* Sections */
section { padding: clamp(90px, 14vw, 170px) clamp(16px, 5vw, 64px); max-width: 1320px; margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.eyebrow { color: var(--accent); margin-bottom: 18px; }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(42px, 7.4vw, 104px); line-height: .95; letter-spacing: -0.03em; }
h3 { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; }
.section-head__p { color: var(--muted); margin-top: 22px; max-width: 520px; }

/* Hero */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 130px; position: relative; }
.hero__meta { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.hero__title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 12.6vw, 200px); line-height: .86; letter-spacing: -0.045em; text-transform: uppercase; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.is-ready .hero__title .line > span { transform: translateY(0); }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero__sub { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; margin-top: 42px; max-width: 1000px; align-items: start; }
.hero__role { color: var(--muted); grid-column: 1 / -1; font-size: .9rem; }
.rotator { color: var(--accent); display: inline-block; min-width: 10ch; }
.hero__lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; align-self: end; }
.hero__scroll { position: absolute; bottom: 30px; left: clamp(16px, 5vw, 64px); color: var(--muted); display: flex; align-items: center; gap: 12px; }
.hero__scroll span { width: 60px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollline 2s infinite; }
@keyframes scrollline { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* Hero photo — 3D card */
.hero__meta, .hero__title, .hero__sub { position: relative; z-index: 2; }
.hero__title { white-space: nowrap; }
.hero__title .line { padding-right: .06em; }
.hero { --pw: clamp(280px, 29vw, 420px); }
.hero__photo {
  position: absolute; z-index: 1; right: clamp(16px, 5vw, 64px); top: 118px; width: var(--pw);
  perspective: 1200px; margin: 0;
}
.hero__photo::before {
  content: ""; position: absolute; inset: 8% -18% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,90,31,.45), transparent 70%); filter: blur(30px);
}
.hero__photo-card {
  position: relative; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255,90,31,.55);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 60px -10px rgba(255,90,31,.35);
  transform-style: preserve-3d; transform: rotateY(-10deg) rotateX(4deg);
  transition: transform .5s cubic-bezier(.16,1,.3,1);
}
/* studio backdrop behind the cut-out portrait */
.studio { position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(55% 40% at 50% 30%, rgba(255,150,90,.42), transparent 70%),
    radial-gradient(90% 60% at 50% 115%, rgba(255,90,31,.35), transparent 65%),
    linear-gradient(180deg, #202024 0%, #141416 55%, #0d0d0f 100%); }
.studio__grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent); }
.studio__mark { position: absolute; left: 50%; top: 4%; transform: translateX(-50%);
  font-family: var(--display); font-weight: 800; font-size: clamp(150px, 15vw, 230px); line-height: 1; letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,140,90,.35); transition: translate .5s cubic-bezier(.16,1,.3,1); }
.studio__floor { position: absolute; left: 10%; right: 10%; bottom: -6%; height: 22%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,90,31,.45), transparent); filter: blur(10px); }
.hero__person {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; object-position: 50% 100%;
  -webkit-mask-image: url("assets/taufiq-mask.png"); mask-image: url("assets/taufiq-mask.png");
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transform: scale(1.04); transform-origin: 50% 100%; transition: translate .5s cubic-bezier(.16,1,.3,1);
}

/* 7+ years badge */
.xp-badge { position: absolute; z-index: 3; left: -52px; bottom: -40px; width: 128px; height: 128px; border-radius: 50%;
  background: rgba(14,14,16,.92); border: 1px solid rgba(255,90,31,.6);
  box-shadow: 0 24px 50px -15px rgba(0,0,0,.9), 0 0 40px -8px rgba(255,90,31,.5);
  display: grid; place-items: center; transition: translate .5s cubic-bezier(.16,1,.3,1); }
.xp-badge svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: xpspin 18s linear infinite; }
.xp-badge text { font-family: var(--mono); font-size: 8.6px; letter-spacing: .14em; fill: var(--muted); }
.xp-badge__num { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.04em; color: var(--accent); }
@keyframes xpspin { to { transform: rotate(360deg); } }

main > section { position: relative; }
}
.hero__photo-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,10,11,.85), transparent 38%), linear-gradient(115deg, rgba(255,255,255,.12), transparent 40%);
}
.hero__photo-card figcaption {
  position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; font-size: .78rem; color: var(--ink);
  display: flex; flex-direction: column; gap: 4px;
}
.hero__photo-card figcaption span { color: var(--accent); font-size: .62rem; }
.hero__chip {
  position: absolute; z-index: 2; padding: 10px 14px; border-radius: 14px; font-size: .64rem; color: var(--muted);
  background: rgba(14,14,16,.88); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,.8); white-space: nowrap;
  animation: chipfloat 5s ease-in-out infinite; transition: translate .5s cubic-bezier(.16,1,.3,1);
}
.hero__chip b { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; text-transform: none; }
.hero__chip.c1 { right: -40px; top: 13%; }
.hero__chip.c2 { right: -46px; top: 47%; animation-delay: -1.6s; }
.hero__chip.c3 { left: -48px; top: 58%; animation-delay: -3.2s; }
@keyframes chipfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (min-width: 1001px) {
  .hero__sub { max-width: calc(100% - var(--pw) - 56px); grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 1000px) {
  .hero { padding-bottom: 60px; }
  .hero__photo { position: relative; right: auto; top: auto; width: min(calc(100% - 40px), 400px); margin: 70px auto 30px; }
  .hero__scroll { display: none; }
}
@media (max-width: 480px) {
  .hero__chip { padding: 8px 11px; }
  .hero__chip b { font-size: 18px; }
  .hero__chip.c1 { right: -4px; }
  .hero__chip.c2 { right: -4px; }
  .hero__chip.c3 { left: -4px; }
  .xp-badge { left: -6px; bottom: -26px; width: 104px; height: 104px; }
  .xp-badge__num { font-size: 32px; }
  .xp-badge text { font-size: 9.4px; }
}

/* Marquee */
.marquee { position: relative; z-index: 2; border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(10,10,11,.6); transform: rotate(-2deg) scale(1.04); }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 4vw, 52px); text-transform: uppercase; white-space: nowrap; }
.marquee__track b { color: var(--accent); font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; margin-top: clamp(80px, 10vw, 140px); width: calc(100% - 2 * clamp(16px, 5vw, 64px)); }
.stat { background: rgba(10,10,11,.82); padding: 38px 28px; backdrop-filter: blur(6px); }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.stat__label { color: var(--muted); margin-top: 14px; }

/* Roles 3D carousel */
.carousel { perspective: 1600px; height: 520px; display: grid; place-items: center; cursor: grab; touch-action: pan-y; user-select: none; }
.carousel:active { cursor: grabbing; }
.carousel__ring { position: relative; width: 320px; height: 420px; transform-style: preserve-3d; }
.role-card {
  position: absolute; inset: 0; padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(30,30,33,.92), rgba(12,12,13,.92));
  transform: rotateY(calc(var(--i) * 90deg)) translateZ(300px);
  backface-visibility: hidden; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.role-card__num { color: var(--muted); }
.role-card__icon { font-size: 56px; line-height: 1; color: var(--accent); margin: 18px 0 8px; }
.role-card h3 { font-size: 30px; }
.role-card p { color: var(--muted); font-size: 15px; }
.role-card ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.role-card li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .68rem; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; perspective: 1200px; }
.svc {
  position: relative; padding: 34px 30px 72px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 280px; transition: border-color .3s, background .3s; transform-style: preserve-3d;
}
.svc:hover { border-color: var(--accent); background: rgba(255,90,31,.07); }
.svc__n { color: var(--accent); display: block; margin-bottom: 40px; transform: translateZ(30px); }
.svc h3 { transform: translateZ(50px); margin-bottom: 12px; font-size: 28px; }
.svc p { color: var(--muted); font-size: 15px; transform: translateZ(25px); }
.svc__go { position: absolute; right: 26px; bottom: 22px; font-size: 26px; transition: transform .3s; }
.svc:hover .svc__go { transform: translateX(6px) rotate(-45deg); color: var(--accent); }

/* Institute */
.institute { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; perspective: 1400px; }
.institute__card {
  padding: clamp(32px, 5vw, 64px); border-radius: 30px; border: 1px solid var(--line);
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,90,31,.18), transparent 50%), var(--glass);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transform-style: preserve-3d;
}
.institute__card h2 { margin-bottom: 24px; transform: translateZ(40px); }
.institute__card > p { color: var(--muted); max-width: 540px; margin-bottom: 28px; }
.institute__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.institute__pills span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: .7rem; }
.institute__badge { display: grid; place-items: center; height: 360px; perspective: 900px; }
.cube { width: 180px; height: 180px; position: relative; transform-style: preserve-3d; animation: spin 16s linear infinite; }
.cube__f {
  position: absolute; inset: 0; display: grid; place-items: center; border: 1px solid rgba(255,90,31,.6);
  background: rgba(255,90,31,.08); font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: .04em;
  backface-visibility: hidden;
}
.f1 { transform: translateZ(90px); } .f2 { transform: rotateY(90deg) translateZ(90px); }
.f3 { transform: rotateY(180deg) translateZ(90px); } .f4 { transform: rotateY(-90deg) translateZ(90px); }
.f5 { transform: rotateX(90deg) translateZ(90px); background: var(--accent); color: #000; } .f6 { transform: rotateX(-90deg) translateZ(90px); }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }

/* Agency: 3D layer stack */
.stack { position: relative; height: 380px; perspective: 1000px; transform-style: preserve-3d; display: grid; place-items: center; }
.stack__layer {
  position: absolute; width: 280px; height: 160px; border-radius: 18px; padding: 18px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -0.01em; white-space: nowrap;
  border: 1px solid rgba(255,90,31,.55); background: rgba(18,18,20,.75); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.8);
  animation: float 6s ease-in-out infinite;
}
.stack__layer span { color: var(--muted); font-size: .65rem; font-weight: 400; }
.stack__layer.l1 { background: var(--accent); color: #0a0a0b; }
.stack__layer.l1 span { color: rgba(0,0,0,.6); }
.l1 { --z: 90px; --y: -70px; animation-delay: 0s; }
.l2 { --z: 0px; --y: 0px; animation-delay: -2s; }
.l3 { --z: -90px; --y: 70px; animation-delay: -4s; }
@keyframes float {
  0%, 100% { transform: rotateX(55deg) rotateZ(-35deg) translateZ(var(--z)) translateY(var(--y)); }
  50% { transform: rotateX(55deg) rotateZ(-35deg) translateZ(calc(var(--z) + 24px)) translateY(var(--y)); }
}

/* Bangladesh map section */
.bd { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; position: relative; }
.bd h2 { font-size: clamp(42px, 6.4vw, 92px); }
.bd__text { position: relative; z-index: 1; }
.bd__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.bd__chips span { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10,10,11,.6); font-size: .7rem; }
.bd__chips b { color: #3ddc84; font-weight: 400; }
.bd__label {
  position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s;
  display: flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,90,31,.5); background: rgba(10,10,11,.7); font-size: .7rem;
}
.bd__label.on { opacity: 1; }
.bd__ping { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,90,31,.7); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(255,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,31,0); } }

/* Mentor steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; counter-reset: s; }
.step {
  padding: 30px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); position: relative; transform-style: preserve-3d; min-height: 260px;
}
.step__n { font-family: var(--display); font-weight: 800; font-size: 70px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); display: block; margin-bottom: 30px; transform: translateZ(40px); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; color: var(--accent); z-index: 2; }
.mentor__cta { margin-top: 48px; }

/* Career Map — 3D scroll-driven road */
#gl { transition: opacity .8s; }
#gl.dim { opacity: .14; }
.cmap { max-width: none; padding: 0; height: 650vh; position: relative; }
.cmap__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.cmap__head { position: absolute; top: 100px; left: clamp(16px, 5vw, 64px); z-index: 3; pointer-events: none; }
.cmap__head h2 { font-size: clamp(36px, 5.6vw, 84px); }
.cmap__hud { position: absolute; right: clamp(16px, 5vw, 64px); top: 104px; z-index: 3; text-align: right; pointer-events: none; }
.cmap__year {
  font-family: var(--display); font-weight: 800; font-size: clamp(48px, 8vw, 124px); line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent); text-transform: none;
}
.cmap__bar { width: 180px; height: 2px; background: var(--line); margin: 14px 0 10px auto; overflow: hidden; }
.cmap__bar span { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.cmap__hint { color: var(--muted); font-size: .65rem; }
.cmap__stage { position: absolute; inset: 0; perspective: 1100px; perspective-origin: 50% 25%; }
.cmap__head h2 { transition: opacity .5s; }
.cmap.travelling .cmap__head h2 { opacity: 0; }
.cmap__world { position: absolute; left: 50%; top: 80%; width: 1000px; height: 3000px; transform-origin: 0 0; transform-style: preserve-3d; will-change: transform; }
.cmap__grid {
  position: absolute; inset: -500px -700px;
  background-image: linear-gradient(rgba(241,236,226,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(241,236,226,.07) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent);
}
.cmap__road { position: absolute; left: 0; top: 0; overflow: visible; }
.road-base { fill: none; stroke: rgba(241,236,226,.07); stroke-width: 80; stroke-linecap: round; }
.road-dash { fill: none; stroke: rgba(241,236,226,.3); stroke-width: 2; stroke-dasharray: 14 18; }
.road-progress { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; filter: drop-shadow(0 0 10px rgba(255,90,31,.9)); }
.cmap__traveler { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.cmap__traveler i {
  position: absolute; width: 26px; height: 26px; left: -13px; top: -13px; border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 8px rgba(255,90,31,.3), 0 0 50px 14px rgba(255,90,31,.6); transform: translateZ(14px);
}
.ms { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.ms__ring { position: absolute; width: 150px; height: 150px; left: -75px; top: -75px; border-radius: 50%; border: 1px solid rgba(255,90,31,.5); opacity: .35; }
.ms.reached .ms__ring { animation: msring 2.4s infinite; }
@keyframes msring { from { transform: scale(.45); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.box { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; transform-style: preserve-3d; transform: scaleZ(.04); transition: transform 1.3s cubic-bezier(.16,1,.3,1); }
.ms.reached .box { transform: scaleZ(1); }
.box i { position: absolute; display: block; }
.box .t { inset: 0; transform: translateZ(var(--h)); background: var(--accent); box-shadow: 0 0 40px rgba(255,90,31,.9); }
.box .a, .box .b { left: 0; width: 60px; height: var(--h); transform-origin: top center; background: linear-gradient(to bottom, rgba(255,90,31,.08), rgba(255,90,31,.75)); border: 1px solid rgba(255,90,31,.55); }
.box .a { top: 0; transform: rotateX(90deg); }
.box .b { top: 60px; transform: rotateX(90deg); }
.box .c, .box .d { top: 0; height: 60px; width: var(--h); transform-origin: left center; background: linear-gradient(to right, rgba(255,90,31,.08), rgba(255,90,31,.6)); border: 1px solid rgba(255,90,31,.55); }
.box .c { left: 0; transform: rotateY(-90deg); }
.box .d { left: 60px; transform: rotateY(-90deg); }
.ms__card {
  --s: .82;
  position: absolute; left: 0; bottom: 0; width: 310px; padding: 22px 22px 20px; border-radius: 18px;
  background: linear-gradient(160deg, rgba(30,30,33,.96), rgba(12,12,13,.96)); border: 1px solid var(--line);
  transform-origin: 50% 100%;
  transform: translateX(-50%) translateZ(calc(var(--h) + 34px)) rotateZ(var(--crz, 0deg)) rotateX(-60deg) scale(var(--s));
  opacity: .14; transition: opacity .6s, transform .8s cubic-bezier(.16,1,.3,1), border-color .6s, box-shadow .6s;
}
.ms.near .ms__card { opacity: .5; }
.ms.active .ms__card { --s: 1; opacity: 1; border-color: var(--accent); box-shadow: 0 30px 80px -20px rgba(255,90,31,.45); }
.ms__yr { color: var(--accent); font-size: .68rem; }
.ms__card h3 { font-size: 24px; margin: 8px 0 6px; }
.ms__metric { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 8px; }
.ms__card p:last-child { color: var(--muted); font-size: 14px; line-height: 1.5; }
.ms--final .ms__card { background: linear-gradient(160deg, rgba(255,90,31,.22), rgba(12,12,13,.96) 60%); }
@media (max-width: 760px) {
  .cmap { height: 700vh; }
  .cmap__head { top: 86px; }
  .cmap__hud { top: auto; bottom: 22px; right: 16px; }
  .cmap__year { font-size: 52px; }
  .cmap__bar { width: 120px; }
  .cmap__world { top: 80%; }
  .ms__card { width: 250px; padding: 18px; }
  .ms__card h3 { font-size: 20px; }
  .ms__metric { font-size: 24px; }
}

/* Journey */
.timeline { border-left: 1px solid var(--line); margin-left: 8px; }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 0 0 54px 36px; position: relative; opacity: .35; transition: opacity .6s; }
.tl.in { opacity: 1; }
.tl::before { content: ""; position: absolute; left: -7px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.tl.in::before { background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.tl__y { color: var(--accent); padding-top: 6px; }
.tl h3 { font-size: clamp(22px, 2.6vw, 34px); margin-bottom: 8px; }
.tl p { color: var(--muted); max-width: 560px; }

/* Contact */
.contact__title { font-size: clamp(48px, 9vw, 136px); margin-bottom: 64px; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.form { display: grid; gap: 18px; padding: clamp(24px, 4vw, 40px); border-radius: 26px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.form label { display: grid; gap: 8px; }
.form label span { color: var(--muted); }
.form input, .form textarea, .form select {
  width: 100%; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 16px; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s;
}
.form select option { background: var(--bg-2); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); }
.form .btn { justify-self: start; }
.form__note { color: var(--muted); font-size: .68rem; }
.contact__links { display: flex; flex-direction: column; }
.clink { display: flex; flex-direction: column; gap: 4px; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 28px); transition: color .25s, padding .25s; overflow-wrap: anywhere; }
.clink span { color: var(--muted); font-weight: 400; }
.clink:hover { color: var(--accent); padding-left: 10px; }

/* Footer */
.footer { padding: 60px clamp(16px, 5vw, 64px) 30px; border-top: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.footer__big { font-family: var(--display); font-weight: 800; font-size: 7.6vw; line-height: .9; display: inline-block; letter-spacing: -0.045em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(241,236,226,.25); }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); margin-top: 30px; font-size: .7rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s cubic-bezier(.16,1,.3,1), transform 1s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .institute { grid-template-columns: 1fr; }
  .institute__badge { height: 260px; }
  .stack { height: 300px; }
  .bd { grid-template-columns: minmax(0, 1fr); align-content: start; min-height: 0; padding-bottom: 85svh; }  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  #gl { opacity: .5; }
  .carousel { overflow: hidden; }
  .nav__links {
    position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 10px;
    background: rgba(10,10,11,.96); border: 1px solid var(--line); border-radius: 22px;
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: opacity .3s, transform .3s;
  }
  .nav__links a { padding: 14px 16px; font-size: 18px; color: var(--ink); }
  .nav.open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.open .nav__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .nav__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__burger { display: block; }
  .nav .btn--small { display: none; }
  .hero__sub { grid-template-columns: 1fr; gap: 24px; }
  .hero__scroll { display: none; }
  .svc-grid, .steps { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .step { min-height: 0; }
  .contact__grid { grid-template-columns: 1fr; }
  .carousel { height: 440px; perspective: 1000px; }
  .carousel__ring { width: 250px; height: 360px; }
  .role-card { transform: rotateY(calc(var(--i) * 90deg)) translateZ(200px); padding: 24px; }
  .role-card h3 { font-size: 24px; }
  .tl { grid-template-columns: 1fr; gap: 6px; padding-left: 28px; }
  .stat { padding: 24px 16px; }
  .stat__num { font-size: clamp(30px, 10vw, 44px); }
  .stat__label { font-size: .62rem; }
  .bd h2 { font-size: clamp(32px, 9.6vw, 56px); }
}
/* Laptops / small desktops: tighter nav */
@media (max-width: 1100px) and (min-width: 761px) {
  .nav__links { gap: 18px; font-size: 13px; }
}
/* Small phones */
@media (max-width: 480px) {
  section { padding-left: 16px; padding-right: 16px; }
  h2 { font-size: clamp(32px, 10.4vw, 48px); overflow-wrap: anywhere; }
  .contact__title { font-size: clamp(36px, 11.5vw, 56px); margin-bottom: 40px; }
  .institute, .bd { grid-template-columns: minmax(0, 1fr); }
  .institute__card { padding: 26px 20px; border-radius: 22px; }
  .institute__pills span { font-size: .62rem; padding: 7px 11px; }
  .hero { padding-top: 110px; }
  .hero__meta { font-size: .64rem; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .btn { padding: 14px 20px; font-size: 14px; }
  .svc { padding: 26px 22px 64px; }
  .svc h3 { font-size: 24px; }
  .step { padding: 24px 20px; }
  .step__n { font-size: 54px; margin-bottom: 18px; }
  .stack { height: 260px; transform: scale(.82); }
  .institute__badge { height: 220px; transform: scale(.8); }
  .carousel { height: 400px; }
  .carousel__ring { width: 220px; height: 330px; }
  .role-card { transform: rotateY(calc(var(--i) * 90deg)) translateZ(175px); padding: 20px; }
  .role-card h3 { font-size: 21px; }
  .role-card p { font-size: 13.5px; }
  .role-card__icon { font-size: 42px; margin: 10px 0 4px; }
  .ms__card { width: 220px; padding: 16px; }
  .ms__metric { font-size: 21px; }
  .ms__card h3 { font-size: 18px; }
  .form { padding: 20px; }
  .clink { font-size: 18px; padding: 18px 0; }
  .marquee__track { font-size: 22px; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
