/* ============================================================
   DANTA GROUPS — V7 "WHITE EDITION"
   Light cinematic theme built from the team's V6 structure.
   Vault patterns: frosted glass, marquee, tilt, shimmer, magnetic buttons.
   ============================================================ */
:root {
  /* Three-colour system, 60 / 30 / 10 (rule of thirds):
     paper 60%  ·  ink 30%  ·  deep teal 10%, with a copper signal used only on small marks. */
  --paper: #ffffff;
  --bg: #f5f3ee;
  --card: #ffffff;
  --ink: #12171c;
  --line: #e3dfd6;
  --muted: #5c6672;
  --accent: #0d3bff;
  --accent-ink: #0a1b44;
  --signal: #a2643a;
  /* legacy aliases kept so existing rules resolve to the new system */
  --blue: var(--accent);
  --violet: var(--accent-ink);
  --cyan: var(--accent);
  --grad: linear-gradient(90deg, var(--ink), var(--ink));
  --shadow: 0 10px 34px rgba(18, 23, 28, 0.07);
  --shadow-lg: 0 22px 60px rgba(18, 23, 28, 0.11);
  --r: 18px;
  --font: 'Montserrat', 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(1100px 560px at 82% -12%, rgba(37, 99, 255, 0.06), transparent 62%),
  radial-gradient(820px 460px at 8% 108%, rgba(56, 189, 248, 0.05), transparent 62%),
  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: 48px 48px; }
.scanlines { display: none; }
.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; color: var(--ink); }
.launch-card h1 span { color: var(--accent); }
.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: 3px; 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 16px 38px rgba(18, 23, 28, .22); }
.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,255,.05), 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(56,189,248,.22), 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 10px rgba(37,99,255,.4); }
.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 { color: var(--accent); }
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: 3px; font-size: 11px; font-weight: 700; letter-spacing: .14em; transition: all .25s; }
#powerBtn:hover { background: var(--accent-ink); box-shadow: 0 10px 26px rgba(37,99,255,.26); }

/* ---------------- 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 #ded9cf; 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(2.9rem, 7.2vw, 4.7rem); }
.hero-copy h2 em { color: var(--accent); font-style: normal; position: relative; }
.hero-copy h2 em::after { content: none; }
@keyframes vtShimmer { 0%,55% { transform: translateX(-120%);} 100% { transform: translateX(220%);} }
.hero-copy p { color: var(--muted); font-size: 16px; max-width: 520px; 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: 3px; font-size: 12px; font-weight: 700; letter-spacing: .12em; transition: all .25s; border: none; }
.primary:hover { transform: translateY(-2px); background: var(--accent-ink); box-shadow: 0 14px 32px rgba(37,99,255,.24); }
.secondary { display: inline-block; padding: 15px 26px; border: 1px solid var(--line); border-radius: 3px; 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: 10px; top: 50%; transform: translateY(-50%); width: min(46vw, 560px); height: min(46vw, 560px); z-index: 1; opacity: .95; }
.ai-badge { position: absolute; right: 18px; top: 112px; display: inline-flex; align-items: center; gap: 9px; font-size: 10px; letter-spacing: .18em; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 0; border-radius: 0; }
.ai-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: ping 1.6s infinite; }
.floating-label { position: absolute; font-size: 10px; letter-spacing: .2em; color: var(--muted); font-weight: 700; background: none; border: 0; padding: 0; }
.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); }
.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(--accent-ink); background: none; padding: 0; border-bottom: 1px solid var(--line); padding-bottom: 4px; border-radius: 0; 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(18,23,28,.05), rgba(37,99,255,.06)); 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(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: .06em; box-shadow: 0 14px 30px rgba(18,23,28,.18); }
.media-count { position: absolute; top: 12px; right: 12px; font-size: 9px; letter-spacing: .16em; font-weight: 700; background: rgba(255,255,255,.92); padding: 5px 9px; border-radius: 2px; 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); max-width: 100%; max-height: 460px; flex-shrink: 0; overflow: hidden; }
.labs3d canvas { max-width: 100% !important; height: auto !important; display: block; }
.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(--accent); box-shadow: 0 0 0 4px rgba(37,99,255,.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(--ink); padding: 7px 13px; border-radius: 2px; }
.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(--accent); background: rgba(37,99,255,.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(--accent-ink); background: none; padding: 8px 0; border-radius: 0; border: none; border-bottom: 1px solid var(--accent); }
#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(--accent); color: #fff; font-size: 24px; box-shadow: 0 16px 36px rgba(37,99,255,.28); 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(37,99,255,.28); 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: none; border: 0; border-left: 1px solid var(--accent); border-radius: 0; padding: 0 0 0 8px; }
@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}


/* labs-overflow-guard: keeps the 3D canvas and heading inside their box on narrow phones */
@media (max-width: 700px) {
  .labs { padding: 32px 20px; gap: 22px; }
  .labs3d { width: min(78vw, 320px); height: min(78vw, 320px); }
  .labs h2 { font-size: clamp(24px, 7.2vw, 34px); line-height: 1.12; }
  .labs p { font-size: 15px; }
}

/* DESKTOP COMPOSITION: copy and object in two columns, no overlap, no dead space */
@media (min-width: 901px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: 44px; padding-top: 92px; }
  .hero-copy { max-width: 600px; }
  .hero3d { position: relative; right: auto; top: auto; transform: none; width: 100%; max-width: 560px; height: auto; aspect-ratio: 1 / 1; justify-self: end; }
  .ai-badge { top: 104px; }
  .label-b { right: 2%; bottom: 26%; }
  .greeting { max-width: 420px; }
  .scroll { left: 0; right: auto; transform: none; }
}

/* ============================================================
   DANTA GROUPS — Royal Sapphire, placed where it belongs.
   Bro's correction: the base page is white mixed with the palette, not a
   full royal-blue wall; Royal Sapphire goes on the cards; the project
   (plotting) cards keep a plain surface; the launch screen stays as it was.
   Palette from Bro's brand sheet:
     #0A1B44 Midnight Blue · #0D3BFF Royal Sapphire · #2563FF Sapphire Blue
     #38BDF8 Aqua Accent · #EAF2FF Sky Mist · #FFFFFF Pure White
   Contrast: midnight on base 16.4:1, royal on base 6.5:1, white on royal 6.80:1,
   sky mist on royal 6.04:1, white on midnight 16.76:1.
   ============================================================ */
:root {
  --paper: #ffffff;
  --bg: #f3f7ff;
  --card: #ffffff;
  --ink: #0a1b44;
  --line: rgba(10, 27, 68, 0.14);
  --muted: #3d4e77;
  --accent: #0d3bff;
  --accent-ink: #0d3bff;
  --signal: #38bdf8;
  --grad: #0d3bff;
  --shadow: 0 10px 30px rgba(10, 27, 68, 0.08);
  --shadow-lg: 0 22px 54px rgba(10, 27, 68, 0.14);
  --font: 'Montserrat', system-ui, sans-serif;
}
h1, h2, h3, h4, .logo-text, .wordmark { font-family: 'Montserrat Alternates', 'Montserrat', sans-serif; }
body { background: var(--bg); color: var(--ink); }
/* the entry screen keeps its own dark stage */
.launch { background: #0a1b44; }
.launch-card { background: rgba(10, 27, 68, 0.92); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.launchBtn { background: #0d3bff; color: #ffffff; border: 1px solid rgba(56,189,248,.5); }
.system-line, .launch-card p, .launch-card small { color: #eaf2ff; }
/* nav sits on the light base */
nav, .vt-nav { background: rgba(255, 255, 255, 0.88); border-bottom: 1px solid var(--line); }
nav a, .logo span { color: var(--ink); }
/* Royal Sapphire lives on the cards */
.ecosystem article, .greeting, .stats > div {
  background: #0d3bff; border: 1px solid rgba(255, 255, 255, 0.18); color: #ffffff;
}
.ecosystem article h3, .ecosystem article span, .greeting p, .greeting-kicker, .stats b, .stats small { color: #ffffff; }
.ecosystem article p, .stats small { color: #eaf2ff; }
.ecosystem article span { border-bottom: 1px solid rgba(234, 242, 255, 0.55); }
.ecosystem article::before { background: #38bdf8; }
/* project / plotting cards stay plain, no sapphire fill */
.project-card { background: #ffffff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow); }
.project-card h3 { color: var(--ink); }
.project-body .tag { color: #0d3bff; }
.project-subtitle, .project-body p { color: var(--muted); }
.project-media { background: #f3f7ff; }
.media-count { background: #ffffff; color: var(--ink); border: 1px solid var(--line); }
/* portrait cards keep a clean surface so the faces read */
.team-card { background: #ffffff; border: 1px solid var(--line); }
.team-cap { color: var(--ink); border-left: 1px solid #0d3bff; background: none; }
.team-dots { background: #ffffff; }
/* buttons */
.primary, #powerBtn, .studio-chip, .placeholder-orb, #vtChatSend, .vt-msg.user {
  background: #0d3bff; color: #ffffff; border: none;
}
.secondary { background: #ffffff; color: #0d3bff; border: 1px solid #0d3bff; }
.engine i { background: #0d3bff; }
.eyebrow { color: #0d3bff; }
.overlay { background: #ffffff; }
#vtLbClose { background: #0d3bff; color: #ffffff; border: none; }
footer { border-top: 1px solid var(--line); color: var(--ink); }
footer small, .footer-brand + div p { color: var(--muted); }
/* launch screen: no grid layer behind it */
.launch-grid { display: none !important; }
.launch::before { background: radial-gradient(120% 90% at 50% 0%, rgba(56,189,248,.16), transparent 62%); }
/* DANTA mark + lockup (brand sheet: infinity with a star above, Ekadanta) */
.logo-mark, .lockup-mark, .greeting-mark { display: inline-flex; align-items: center; justify-content: center; }
.logo-mark svg { width: 26px; height: 22px; color: #0d3bff; }
.logo .logo-mark { width: 30px; height: 30px; }
.lockup { display: flex; align-items: center; gap: 14px; }
.lockup-mark svg { width: 54px; height: 45px; color: #38bdf8; }
.lockup-word { font-family: 'Montserrat Alternates', sans-serif; font-weight: 800; font-size: 34px; letter-spacing: .04em; color: #ffffff; line-height: 1; }
.lockup-word span { font-weight: 600; color: #eaf2ff; letter-spacing: .12em; }
.footer-brand .lockup-word { font-size: 22px; color: var(--ink); }
.footer-brand .lockup-word span { color: #0d3bff; }
.footer-brand .lockup-mark svg { width: 34px; height: 28px; color: #0d3bff; }
.footer-mark svg { width: 30px; height: 26px; color: #0d3bff; }
.greeting-mark svg { width: 20px; height: 17px; color: #ffffff; }
.logo span span, header .logo span span { color: #0d3bff; }
@media (max-width: 560px) {
  .lockup-word { font-size: 24px; }
  .lockup-mark svg { width: 38px; height: 32px; }
}
/* marquee strip: readable on the light base */
.vt-marquee { background: #ffffff; }
.vt-marquee-track span { color: #3d4e77; }
.vt-marquee-track span:nth-child(even) { color: #0d3bff; opacity: 1; }
/* ENTRY SCREEN — Bro's call: white-mixed base like the rest of the site,
   letters and button kept as they are. No dark stage. */
.launch { background: #f3f7ff !important; }
.launch::before { background: radial-gradient(120% 90% at 50% 0%, rgba(13,59,255,.08), transparent 62%) !important; }
#starfield { filter: invert(1); opacity: .22; }
.launch-card { background: #ffffff; border: 1px solid rgba(10,27,68,.14); box-shadow: 0 26px 64px rgba(10,27,68,.12); color: var(--ink); }
.launch-card h1 { color: #0a1b44; }
.launch-card h1 span { color: #0d3bff; }
.launch-card p, .system-line, .launch-card small { color: #3d4e77; }
.launch-card small { color: #5b6b8f; }
.launchBtn { background: #0d3bff; color: #ffffff; border: none; box-shadow: 0 12px 28px rgba(13,59,255,.28); }
.launchBtn:hover { box-shadow: 0 16px 34px rgba(13,59,255,.34); }
.launch .lockup-mark svg { color: #0d3bff; }
.launch .lockup-word { color: #0a1b44; }
.launch .lockup-word span { color: #0d3bff; }
/* REAL BRAND MARK from Bro's identity sheet, static (no animation, no gradient) */
.logo-mark svg, .lockup-mark svg, .greeting-mark svg { width: auto; height: 30px; }
.lockup-mark svg { height: 42px; }
.greeting-mark { background: #ffffff !important; border: 1px solid rgba(10,27,68,.14); box-shadow: none; }
.greeting-mark svg { height: 30px; }
.greeting-mark, .logo-mark, .lockup-mark { animation: none !important; }
/* ecosystem cards: link chips + hover state */
.ecosystem article { position: relative; }
.ecosystem article .eco-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #ffffff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34); padding: 8px 12px; border-radius: 999px; min-height: 32px; }
.ecosystem article:hover .eco-open { background: #ffffff; color: #0d3bff; border-color: #ffffff; }
.ecosystem article:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
/* mark containers must follow the logo's own 2.26:1 shape, never a square box */
.logo .logo-mark { width: 68px; height: 30px; flex: 0 0 auto; overflow: visible; }
.lockup .lockup-mark { width: 95px; height: 42px; flex: 0 0 auto; overflow: visible; }
.footer-mark { width: 63px; height: 28px; overflow: visible; }
.greeting-mark { width: 59px; height: 26px; padding: 0 8px; overflow: visible; }
.logo-mark svg, .lockup-mark svg, .footer-mark svg, .greeting-mark svg { width: 100%; height: 100%; display: block; }
/* mark aspect now 1.878:1 (star above the loop is part of the artwork) */
.logo .logo-mark { width: 56px; height: 30px; }
.lockup .lockup-mark { width: 79px; height: 42px; }
.footer-mark { width: 53px; height: 28px; }
.greeting-mark { width: 49px; height: 26px; }
/* final mark aspect 1.611:1 (star sits fully above the loop) */
.logo .logo-mark { width: 48px; height: 30px; }
.lockup .lockup-mark { width: 68px; height: 42px; }
.footer-mark { width: 45px; height: 28px; }
.greeting-mark { width: 42px; height: 26px; }
/* exact artwork image, aspect 1.613:1 */
.logo .logo-mark { width: 48px; height: 30px; }
.lockup .lockup-mark { width: 68px; height: 42px; }
.footer-mark { width: 45px; height: 28px; }
.greeting-mark { width: 42px; height: 26px; }
.logo-mark svg, .lockup-mark svg, .footer-mark svg, .greeting-mark svg { width: 100%; height: 100%; }
/* card links: the chip is a real anchor, plus a full-card hit area */
.ecosystem article { position: relative; }
.ecosystem article .eco-hit { position: absolute; inset: 0; z-index: 2; border-radius: inherit; text-decoration: none; }
.ecosystem article .eco-open { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: #ffffff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.34); padding: 8px 12px; border-radius: 999px; min-height: 32px; text-decoration: none; }
.ecosystem article .eco-open:hover, .ecosystem article .eco-open:focus-visible { background: #ffffff; color: #0d3bff; border-color: #ffffff; }
.ecosystem article.eco-linked { cursor: pointer; }
/* desktop rhythm: the same tight pacing mobile already has, no separate site needed */
@media (min-width: 1024px) {
  section { padding: 74px 0 40px; }
  #home { min-height: 86vh; padding-top: 84px; }
  .ecosystem, .project-grid, .team-grid { margin-top: 26px; }
  .section-head { margin-bottom: 0; }
  footer { margin-top: 56px; }
  .creators { padding: 14px 0 40px; }
}
