/* ============================================================
   VAJRA TECH — V7 "WHITE EDITION"
   Light cinematic theme built from the team's V6 structure.
   Vault patterns: frosted glass, marquee, tilt, shimmer, magnetic buttons.
   ============================================================ */
:root {
  --ink: #0b0d13;
  --paper: #ffffff;
  --bg: #f6f7fb;
  --card: #ffffff;
  --line: #e6e8f0;
  --muted: #5b6472;
  --blue: #2563eb;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --grad: linear-gradient(90deg, var(--blue), var(--violet));
  --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 80px rgba(15, 23, 42, 0.14);
  --r: 18px;
  --font: 'Sora', 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); overflow-x: clip; overscroll-behavior-x: none; scroll-behavior: smooth; }
body { background: transparent; color: var(--ink); font-family: var(--font); line-height: 1.6; overflow-x: clip; overscroll-behavior-x: none; }
#dotfield { position: fixed; inset: 0; z-index: -1; pointer-events: none; display: block; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.hidden { display: none !important; }

/* ---------------- LAUNCH SCREEN (white) ---------------- */
.launch { position: fixed; inset: 0; z-index: 500; background:
  radial-gradient(1200px 600px at 80% -10%, rgba(124, 58, 237, 0.08), transparent 60%),
  radial-gradient(900px 500px at 10% 110%, rgba(6, 182, 212, 0.10), transparent 60%),
  var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; }
#starfield { position: absolute; inset: 0; opacity: .5; }
.launch-grid { position: absolute; inset: 0; background-image:
  linear-gradient(rgba(11,13,19,.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(11,13,19,.04) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 50% 45%, #000 30%, transparent 75%); }
.scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.5) 0 2px, transparent 2px 5px); opacity: .35; }
.launch-brand { position: relative; z-index: 2; }
.launch-brand img { height: 56px; filter: none; }
.launch-card { position: relative; z-index: 2; text-align: center; padding: 38px 44px; background: rgba(255,255,255,.75);
  border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); max-width: 92vw; }
.system-line { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .18em; color: var(--muted); font-weight: 600; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(6,182,212,.5); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(6,182,212,0); } 100% { box-shadow: 0 0 0 0 rgba(6,182,212,0); } }
.launch-card h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.launch-card p { color: var(--muted); margin-bottom: 22px; font-size: 15px; }
.launch-card small { display: block; margin-top: 18px; color: #9aa3b0; font-size: 10px; letter-spacing: .16em; }
button { font-family: inherit; cursor: pointer; border: none; }
.launchBtn { background: var(--ink); color: #fff; padding: 15px 30px; border-radius: 999px; font-weight: 700; font-size: 13px; letter-spacing: .12em; box-shadow: 0 12px 30px rgba(11,13,19,.25); transition: transform .2s, box-shadow .3s; }
.launchBtn b { margin-left: 6px; }
.launchBtn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 18px 44px rgba(37, 99, 235, .35); }
.quietBtn { background: none; color: var(--muted); font-size: 12px; margin-top: 12px; letter-spacing: .1em; border-bottom: 1px dashed #c3c9d4; padding-bottom: 2px; }
.quietBtn:hover { color: var(--ink); }

.overlay { position: fixed; inset: 0; z-index: 600; background: var(--paper); display: flex; align-items: center; justify-content: center; flex-direction: column; }
.countValue { font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.countValue.flash { animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.countLabel { letter-spacing: .3em; font-size: 12px; color: var(--muted); font-weight: 600; }
.countRing { width: 120px; height: 4px; margin: 26px auto 0; background: var(--line); border-radius: 4px; overflow: hidden; position: relative; }
.countRing::after { content: ""; position: absolute; inset: 0; background: var(--grad); animation: sweep 4s linear forwards; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* liftoff — neon on white */
.liftoff-stars { position: absolute; inset: 0; background: radial-gradient(3px 3px at 20% 30%, #c9d4e5, transparent), radial-gradient(2px 2px at 60% 70%, #dbe4f2, transparent), radial-gradient(2px 2px at 80% 20%, #c9d4e5, transparent); }
.liftoff-haze { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37,99,235,.06), transparent 40%); }
.rocketScene { position: relative; text-align: center; }
.rocketFly { animation: riseFull 2.6s cubic-bezier(.7,0,.84,0) forwards; }
@keyframes riseFull { to { transform: translateY(-110vh); } }
.rocket-glow { width: 240px; height: 60px; margin: 0 auto -30px; background: radial-gradient(50% 50% at 50% 50%, rgba(6,182,212,.35), transparent 70%); filter: blur(10px); }
.rocket-body { width: 54px; height: 120px; margin: 0 auto; background: linear-gradient(180deg, #fff, #eef1f7); border: 2px solid var(--ink); border-radius: 26px 26px 10px 10px; position: relative; box-shadow: 0 6px 24px rgba(11,13,19,.12); }
.rocket-nose { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); border-left: 27px solid transparent; border-right: 27px solid transparent; border-bottom: 28px solid var(--ink); }
.rocket-window { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; background: var(--grad); border-radius: 50%; box-shadow: 0 0 12px rgba(124,58,237,.6); }
.rocket-fin { position: absolute; bottom: 8px; width: 0; height: 0; border-bottom: 44px solid var(--ink); }
.rocket-fin.left { left: -18px; border-left: 14px solid transparent; }
.rocket-fin.right { right: -18px; border-right: 14px solid transparent; }
.engine { display: flex; gap: 6px; justify-content: center; margin-top: 2px; }
.engine i { width: 5px; height: 22px; background: var(--ink); border-radius: 3px; animation: flick .3s infinite alternate; }
@keyframes flick { to { transform: scaleY(1.5); opacity: .7; } }
.flame3d { width: 34px; height: 90px; margin: 2px auto 0; background: linear-gradient(180deg, var(--cyan), var(--blue), transparent); border-radius: 50% 50% 40% 40%; filter: blur(4px); animation: boom .25s infinite alternate; }
@keyframes boom { to { transform: scaleY(1.25) scaleX(.85); } }
.smoke { position: absolute; bottom: -40px; left: 50%; width: 180px; height: 80px; background: radial-gradient(50% 50% at 50% 50%, rgba(11,13,19,.12), transparent 70%); }
.smoke-a { transform: translateX(-130%); animation: drift 2.2s ease-out forwards; }
.smoke-b { transform: translateX(30%); animation: drift 2.2s ease-out .15s forwards; }
@keyframes drift { to { opacity: 0; transform: translateX(-40vw) scale(2.4); } }
.rocketScene h2 { font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rocketScene p { color: var(--muted); letter-spacing: .2em; font-size: 11px; font-weight: 600; }

/* ---------------- HEADER ---------------- */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 400; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; background: rgba(255,255,255,.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-80px); transition: transform .5s cubic-bezier(.22,1,.36,1); }
body.entered header { transform: translateY(0); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.logo img { width: 34px; height: 34px; border-radius: 10px; box-shadow: var(--shadow); }
.logo span span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav { display: flex; gap: 26px; }
nav a { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted); position: relative; padding: 4px 0; }
nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); transition: width .3s; }
nav a:hover { color: var(--ink); }
nav a:hover::after { width: 100%; }
#powerBtn { background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .14em; transition: all .25s; }
#powerBtn:hover { background: var(--blue); box-shadow: 0 10px 26px rgba(37,99,235,.35); }

/* ---------------- SECTIONS ---------------- */
main { padding: 0 28px; max-width: 1200px; margin: 0 auto; }
section { padding: 110px 0 60px; }
/* V7: no scroll-reveal hiding — content is static and confident; the dot field carries the motion */
.reveal { opacity: 1; transform: none; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--blue); margin-bottom: 14px; }
.num { font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #d7dce8; margin-right: 34px; flex-shrink: 0; }
.split { display: flex; }
.split > div:last-child { flex: 1; }
h2 { font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
.lead { font-size: 17px; color: var(--muted); margin: 14px 0 8px; font-weight: 500; }

/* HERO */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-copy { max-width: 640px; position: relative; z-index: 2; }
.hero-copy h2 { font-size: clamp(3rem, 9vw, 5.6rem); }
.hero-copy h2 em { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; position: relative; }
.hero-copy h2 em::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 50%, transparent 70%); mix-blend-mode: overlay; transform: translateX(-120%); animation: vtShimmer 3.2s ease-in-out 1.2s infinite; }
@keyframes vtShimmer { 0%,55% { transform: translateX(-120%);} 100% { transform: translateX(220%);} }
.hero-copy p { color: var(--muted); font-size: 16px; max-width: 460px; margin: 18px 0 26px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; }
.primary { display: inline-block; background: var(--ink); color: #fff; padding: 15px 26px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; transition: all .25s; border: none; }
.primary:hover { transform: translateY(-2px); background: var(--blue); box-shadow: 0 14px 34px rgba(37,99,235,.32); }
.secondary { display: inline-block; padding: 15px 26px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--ink); background: var(--card); transition: all .25s; cursor: pointer; }
.secondary:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero3d { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: min(46vw, 560px); height: min(46vw, 560px); z-index: 1; opacity: .95; }
.ai-badge { position: absolute; right: 34px; top: 120px; display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .18em; font-weight: 700; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); }
.ai-badge span { width: 8px; height: 8px; border-radius: 50%; background: #10b981; animation: ping 1.6s infinite; }
.floating-label { position: absolute; font-size: 10px; letter-spacing: .2em; color: var(--muted); font-weight: 700; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow); animation: float 5s ease-in-out infinite; }
.label-a { left: 4%; top: 24%; animation-delay: .8s; }
.label-b { right: 8%; bottom: 22%; }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .24em; color: var(--muted); animation: float 3s infinite; }
.greeting { position: absolute; left: 0; bottom: 90px; display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 20px; max-width: 420px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: all .5s cubic-bezier(.22,1,.36,1); z-index: 3; }
.greeting.show { opacity: 1; transform: none; }
.greeting-mark { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; flex-shrink: 0; }
.greeting-kicker { font-size: 10px; letter-spacing: .2em; color: var(--blue); font-weight: 700; margin-bottom: 2px; }
.greeting p { font-size: 13px; color: var(--muted); }

/* MARQUEE strip */
.vt-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); padding: 16px 0; margin: 30px 0 0; }
.vt-marquee-track { display: flex; gap: 54px; width: max-content; animation: marquee 26s linear infinite; }
.vt-marquee-track span { font-size: 12px; font-weight: 800; letter-spacing: .26em; color: #c4cada; white-space: nowrap; }
.vt-marquee-track span:nth-child(even) { color: var(--blue); opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* PROCESS */
.process { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.process > div { flex: 1; min-width: 150px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.process > div:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.process b { font-size: 26px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process h3 { font-size: 13px; letter-spacing: .18em; margin: 8px 0 6px; }
.process p { font-size: 13px; color: var(--muted); }

/* ECOSYSTEM */
.ecosystem { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 38px; }
.ecosystem article { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); transition: all .3s; position: relative; overflow: hidden; }
.ecosystem article::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .3s; }
.ecosystem article:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ecosystem article:hover::before { opacity: 1; }
.ecosystem article span { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: var(--blue); background: rgba(37,99,235,.08); padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.ecosystem article h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.ecosystem article p { font-size: 13px; color: var(--muted); }

/* PROJECTS */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; margin-top: 38px; }
.project-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.project-card:hover { box-shadow: var(--shadow-lg); }
.project-card .project-body { transform: translateZ(20px); }
.project-media { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.08)); overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.project-card:hover .project-media img { transform: scale(1.05); }
.project-placeholder { display: flex; align-items: center; justify-content: center; }
.placeholder-orb { width: 74px; height: 74px; border-radius: 22px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: .06em; box-shadow: 0 14px 34px rgba(124,58,237,.35); animation: float 5s ease-in-out infinite; }
.media-count { position: absolute; top: 12px; right: 12px; font-size: 9px; letter-spacing: .16em; font-weight: 700; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; color: var(--ink); }
.project-body { padding: 22px; }
.project-body .tag { font-size: 10px; font-weight: 800; letter-spacing: .18em; color: var(--violet); margin-bottom: 10px; }
.project-body h3 { font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.project-subtitle { font-size: 12px; font-weight: 600; color: var(--muted); margin: 2px 0 8px; letter-spacing: .06em; }
.project-body p { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.photo-strip { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.photo-strip img { width: 58px; height: 58px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.empty-state { grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px; border: 1.5px dashed var(--line); border-radius: var(--r); }

/* LABS */
.labs { display: flex; align-items: center; gap: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 60px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.labs3d { width: min(38vw, 460px); height: min(38vw, 460px); flex-shrink: 0; }
.labs > div:first-child { flex: 1; }

/* COLLABORATE FORM */
.idea-form { display: flex; flex-direction: column; gap: 18px; margin-top: 34px; max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.idea-form label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--muted); }
.idea-form input, .idea-form textarea { font-family: inherit; font-size: 15px; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 17px; transition: border-color .25s, box-shadow .25s; }
.idea-form input:focus, .idea-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,235,.12); }
.idea-form textarea { min-height: 130px; resize: vertical; }
.check { flex-direction: row !important; align-items: center; gap: 12px !important; font-size: 13px !important; letter-spacing: 0 !important; color: var(--muted) !important; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.send-idea { align-self: flex-start; }
#formStatus { font-size: 13px; color: var(--muted); }
.mail-choices { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; }
.mail { display: inline-block; padding: 12px 22px; border-radius: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: #fff; transition: transform .2s; }
.gmail { background: #d93025; }
.outlook { background: #0f6cbd; }
.mail:hover { transform: translateY(-2px) scale(1.02); }

/* FOOTER */
footer { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 28px; max-width: 1200px; margin: 80px auto 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer-brand img { height: 44px; opacity: .9; }
footer p { font-weight: 700; letter-spacing: -.01em; }
footer small { color: var(--muted); }
.footer-logos { display: flex; gap: 12px; align-items: center; }
.footer-logos img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow); }

/* ---------------- MODAL / ADMIN ---------------- */
.modal { position: fixed; inset: 0; z-index: 700; background: rgba(11,13,19,.45); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin { background: var(--card); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); max-width: 720px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 34px; position: relative; }
.close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.close:hover { background: var(--line); }
.admin-head { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 20px; }
.muted { color: var(--muted); font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 26px; }
.stats > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-align: center; }
.stats b { font-size: 30px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.stats span { font-size: 9.5px; letter-spacing: .18em; color: var(--muted); font-weight: 700; }
.admin-section { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.studio-chip { font-size: 9px; font-weight: 800; letter-spacing: .18em; color: #fff; background: var(--grad); padding: 7px 13px; border-radius: 999px; }
.studio-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.upload-zone { border: 2px dashed var(--line); border-radius: var(--r); padding: 24px; text-align: center; cursor: pointer; transition: border-color .25s, background .25s; }
.upload-zone:hover { border-color: var(--blue); background: rgba(37,99,235,.03); }
.upload-zone strong { display: block; margin-top: 8px; font-size: 14px; }
.upload-zone small { color: var(--muted); font-size: 11px; }
.upload-zone input { display: none; }
.photo-preview { display: flex; gap: 10px; flex-wrap: wrap; }
.photo-preview img { width: 86px; height: 86px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.admin-photo { position: relative; }
.photo-remove { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #ef4444; color: #fff; font-size: 13px; border: none; }
.admin-photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.admin-project { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin-top: 14px; }
.admin-project-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.remove { background: none; color: #ef4444; font-size: 11px; font-weight: 700; letter-spacing: .08em; border: none; }
.inbox-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; margin-top: 12px; }
.mail-title { font-weight: 800; font-size: 14px; }
.mail-actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.mini-upload { font-size: 11px; font-weight: 700; color: var(--blue); background: rgba(37,99,235,.08); padding: 8px 14px; border-radius: 999px; border: none; }
#loginForm { display: flex; flex-direction: column; gap: 14px; max-width: 360px; margin-top: 16px; }
#loginForm input { font-family: inherit; font-size: 15px; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; background: var(--bg); }
#loginForm input:focus { outline: none; border-color: var(--blue); }
#loginStatus { font-size: 12.5px; color: #ef4444; min-height: 16px; }

/* ---------------- AI CHAT WIDGET (V7) ---------------- */
#vtChatOrb { position: fixed; right: 26px; bottom: 26px; z-index: 650; width: 60px; height: 60px; border-radius: 50%; border: none;
  background: var(--grad); color: #fff; font-size: 24px; box-shadow: 0 16px 40px rgba(124,58,237,.4); display: none; align-items: center; justify-content: center; transition: transform .2s; }
#vtChatOrb:hover { transform: scale(1.08); }
#vtChatOrb::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(124,58,237,.35); animation: ping 1.8s infinite; }
#vtChatPanel { position: fixed; right: 26px; bottom: 100px; z-index: 660; width: min(360px, calc(100vw - 40px)); height: 480px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; }
#vtChatPanel.open { display: flex; animation: chatIn .3s cubic-bezier(.22,1,.36,1); }
@keyframes chatIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
#vtChatHead { padding: 16px 18px; background: var(--grad); color: #fff; display: flex; align-items: center; gap: 10px; }
#vtChatHead .dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: ping 1.6s infinite; }
#vtChatHead b { font-size: 14px; }
#vtChatHead small { display: block; font-size: 10px; opacity: .85; letter-spacing: .1em; }
#vtChatLog { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.vt-msg { max-width: 85%; padding: 11px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.vt-msg.bot { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 5px; align-self: flex-start; }
.vt-msg.user { background: var(--ink); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.vt-typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.vt-typing i { width: 7px; height: 7px; border-radius: 50%; background: #c4cada; animation: bounce 1s infinite; }
.vt-typing i:nth-child(2) { animation-delay: .15s; } .vt-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-5px); opacity: .5; } }
#vtChatForm { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--line); background: var(--card); }
#vtChatInput { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font-family: inherit; font-size: 14px; background: var(--bg); }
#vtChatInput:focus { outline: none; border-color: var(--blue); }
#vtChatSend { background: var(--ink); color: #fff; border: none; border-radius: 12px; width: 46px; font-size: 16px; }
#vtChatSend:hover { background: var(--blue); }
#vtChatBadge { position: absolute; top: -4px; right: -4px; background: #ef4444; color: #fff; border-radius: 999px; font-size: 9px; font-weight: 800; padding: 3px 7px; display: none; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 900px) {
  .hero3d { position: relative; right: auto; top: auto; transform: none; width: 80vw; height: 60vw; margin: 20px auto 0; }
  .labs { flex-direction: column; padding: 34px 24px; }
  .labs3d { width: 70vw; height: 60vw; }
  .num { display: none; }
}
@media (max-width: 640px) {
  .ai-badge { position: static; order: -1; align-self: flex-start; margin: 0 0 16px; }

  nav { display: none; }
  main { padding: 0 18px; }
  section { padding: 84px 0 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .split { display: block; }
  .greeting { position: static; margin-top: 30px; max-width: none; }
  .floating-label { display: none; }
  .stats { grid-template-columns: 1fr; }
  #vtChatPanel { right: 12px; bottom: 84px; height: 66vh; }
  #vtChatOrb { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .vt-marquee-track, .floating-label, .scroll, .placeholder-orb { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ---------------- V7.1 project sheets + lightbox + ecosystem map ---------------- */
.project-media.vt-zoom { cursor: zoom-in; background: #fff; aspect-ratio: 4/3; }
.project-media.vt-zoom img { object-fit: cover; object-position: center; }
.project-media.vt-zoom .media-count { background: var(--ink); color: #fff; }
.vt-ecomap { margin-top: 38px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; }
.vt-ecomap img { width: 100%; display: block; }
.vt-ecomap figcaption { padding: 14px 20px; font-size: 11px; letter-spacing: .18em; font-weight: 700; color: var(--muted); border-top: 1px solid var(--line); }
#vtLightbox { position: fixed; inset: 0; z-index: 900; background: rgba(11,13,19,.88); backdrop-filter: blur(6px); display: none; flex-direction: column; align-items: center; padding: 18px; }
#vtLightbox.open { display: flex; }
#vtLbCap { color: #fff; font-weight: 700; letter-spacing: .12em; font-size: 12px; margin: 6px 0 12px; }
#vtLbWrap { flex: 1; width: 100%; overflow: auto; display: flex; align-items: flex-start; justify-content: center; -webkit-overflow-scrolling: touch; }
#vtLbImg { max-width: 100%; height: auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
#vtLbClose { position: absolute; top: 12px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; border: none; }
@media (min-width: 900px) { #vtLbImg { max-width: min(1400px, 94vw); } }

/* ---------------- V7.2 dot-portrait team ---------------- */
.team-section { display: block; }
.team-section h2 { margin-bottom: 8px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; margin-top: 34px; }
.team-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.team-card.lift { margin-top: 46px; }
.team-dots { display: block; width: 100%; height: auto; aspect-ratio: 592 / 1040; background: #fff; }
.team-cap { position: absolute; left: 12px; bottom: 10px; font-size: 10px; letter-spacing: .22em; font-weight: 700; color: var(--muted); background: rgba(255,255,255,.86); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card.lift { margin-top: 0; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .team-card.lift { margin-top: 0; }
}

/* ---------------- final team poster ---------------- */
.poster-final { padding: 20px 0 70px; }
.poster-frame { max-width: 720px; margin: 0 auto; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(11,13,19,.12); background: var(--card); }
.poster-frame img { display: block; width: 100%; height: auto; }
@media (max-width: 640px) { .poster-frame { border-radius: 14px; } .poster-final { padding: 10px 0 50px; } }

/* live project link (added Nov 6, 2026: PALLA card) */
.project-link{display:inline-flex;align-items:center;gap:6px;margin-top:14px;padding:10px 14px;min-height:44px;border:1px solid var(--ink,#111);border-radius:999px;font-family:var(--mono,ui-monospace,SFMono-Regular,monospace);font-size:12px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:var(--ink,#111);transition:background .2s ease,color .2s ease}
.project-link:hover,.project-link:focus-visible{background:var(--ink,#111);color:var(--paper,#fff);outline:none}
