/* VYNEX/public/style.css — main design system and component styles */
:root {
  --bg: #05070f;
  --bg-2: #0a0f1f;
  --bg-3: #0f1630;
  --text: #e9ecf8;
  --muted: #8f98b8;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --cyan: #22d3ee;
  --line: rgba(255, 255, 255, 0.09);
  --glass: rgba(255, 255, 255, 0.04);
  --grad: linear-gradient(135deg, var(--blue), var(--violet));
  --radius: 18px;
  --max: 1180px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; color: var(--muted); }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: var(--cyan); margin-bottom: 14px; font-weight: 600; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .96rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s; font-family: inherit; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(99, 102, 241, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(99, 102, 241, .9); }
.btn-ghost { background: var(--glass); border-color: var(--line); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }

/* Header / navigation */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, border-color .3s, padding .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5, 7, 15, .78); backdrop-filter: blur(16px); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.brand-mark { width: 34px; height: 34px; }
.brand small { font-weight: 500; color: var(--muted); font-size: .72rem; letter-spacing: .14em; display: block; margin-top: -4px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .93rem; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--grad); border-radius: 2px; }
.nav-links a.nav-cta { padding: 10px 22px; font-size: .88rem; color: #fff; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: #fff; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; transition: transform .25s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 130px 0 90px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); opacity: .55; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.orb-1 { width: 520px; height: 520px; background: var(--blue); top: -140px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: var(--violet); bottom: -160px; right: -100px; }
.orb-3 { width: 260px; height: 260px; background: var(--cyan); top: 40%; left: 55%; opacity: .22; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero-lead { font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; font-size: .86rem; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

.code-card { background: rgba(10, 15, 31, .7); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(18px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); overflow: hidden; }
.code-top { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.code-top i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.code-top i:nth-child(2) { background: #febc2e; }
.code-top i:nth-child(3) { background: #28c840; }
.code-top em { margin-left: 10px; font-style: normal; font-size: .76rem; color: var(--muted); }
.code-body { padding: 22px; font-family: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .84rem; line-height: 1.9; color: #b9c2e6; white-space: pre; overflow-x: auto; }
.code-body .k { color: var(--violet); } .code-body .s { color: #7ee2b8; } .code-body .f { color: var(--blue); } .code-body .c { color: #566086; }
.float-chip { position: absolute; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); padding: 10px 16px; border-radius: 14px; font-size: .8rem; font-weight: 600; }
.hero-visual { position: relative; }
.chip-a { top: -22px; right: 10px; } .chip-b { bottom: -18px; left: -20px; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 20px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track span { white-space: nowrap; color: var(--muted); font-family: var(--display); font-size: 1.05rem; display: inline-flex; align-items: center; gap: 56px; }
.marquee-track span::after { content: "✦"; color: var(--violet); }

/* Intro / about strip */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.img-frame { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame img:not([src]) { display: none; }
.img-frame .placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .85rem; text-align: center; padding: 24px; }
.img-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(139, 92, 246, .18)); mix-blend-mode: overlay; pointer-events: none; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.stat { padding: 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--display); font-size: 1.15rem; color: #fff; }
.stat span { font-size: .8rem; color: var(--muted); }

/* Cards (services, why, featured) */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 28px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); transition: transform .35s, border-color .35s, background .35s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(99, 102, 241, .16), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .45); }
.card:hover::before { opacity: 1; }
.card .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); margin-bottom: 20px; font-size: 1.3rem; box-shadow: 0 10px 24px -10px rgba(99, 102, 241, .8); }
.card h3 { font-size: 1.15rem; }
.card p { font-size: .93rem; margin: 0; }
.section-cta { text-align: center; margin-top: 50px; }

/* Featured projects */
.project-card { padding: 0; }
.project-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); overflow: hidden; position: relative; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-body { padding: 22px 24px 26px; }
.tag { display: inline-block; font-size: .72rem; padding: 4px 12px; border-radius: 999px; background: rgba(139, 92, 246, .14); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, .3); margin-bottom: 12px; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 24px; border: 1px dashed rgba(255, 255, 255, .18); border-radius: var(--radius); color: var(--muted); }
.empty-state strong { display: block; color: var(--text); font-family: var(--display); font-size: 1.1rem; margin-bottom: 6px; }

/* Process */
.process { counter-reset: step; position: relative; }
.step { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--display); font-size: 2.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 10px; line-height: 1; }
.step h3 { font-size: 1.1rem; }
.step p { font-size: .92rem; margin: 0; }

/* Technologies */
.tech-wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.tech { padding: 12px 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-weight: 600; font-size: .92rem; transition: transform .25s, border-color .25s, color .25s; }
.tech:hover { transform: translateY(-4px); border-color: var(--blue); color: #fff; }

/* Testimonials */
.quote-card { padding: 30px; }
.quote-card blockquote { margin: 0 0 20px; color: var(--text); font-size: 1rem; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 700; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-author strong { display: block; font-size: .95rem; }
.quote-author span { font-size: .8rem; color: var(--muted); }

/* CTA / Contact */
.cta-band { border-radius: 28px; padding: 70px 40px; text-align: center; background: radial-gradient(600px circle at 20% 0%, rgba(59, 130, 246, .35), transparent 60%), radial-gradient(600px circle at 90% 100%, rgba(139, 92, 246, .35), transparent 60%), var(--bg-3); border: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 720px; margin-inline: auto; }
.cta-band p { max-width: 540px; margin-inline: auto 0; margin: 0 auto 30px; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: .94rem; }
.contact-list b { display: block; color: var(--text); font-size: .85rem; }
.ph { color: #fbbf77; font-style: normal; }

/* Forms */
.form { display: grid; gap: 16px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(12px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; color: var(--text); font: inherit; font-size: .94rem; transition: border-color .2s, background .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: rgba(59, 130, 246, .06); }
.field select option { background: var(--bg-2); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { font-size: .9rem; min-height: 1.2em; margin: 0; }
.form-status.ok { color: #6ee7b7; } .form-status.err { color: #fca5a5; }

/* Footer */
.site-footer { position: relative; margin-top: 0; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #03040a); padding: 80px 0 28px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.site-footer h4 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-brand p { font-size: .92rem; max-width: 320px; margin: 16px 0 20px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .75rem; font-weight: 700; transition: background .2s, transform .2s; }
.socials a:hover { background: var(--grad); color: #fff; transform: translateY(-3px); }
.socials a[hidden] { display: none; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .84rem; color: var(--muted); }
.footer-bottom nav { display: flex; gap: 22px; }

/* Page hero (inner pages) */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }

/* ---------- Inner pages: filters, portfolio, details, FAQ, legal, watermark ---------- */
.page-hero p { max-width: 640px; font-size: 1.1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-btn { background: var(--glass); border: 1px solid var(--line); color: var(--muted); padding: 9px 20px; border-radius: 999px; cursor: pointer; font: inherit; font-size: .88rem; transition: all .25s; }
.filter-btn:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.filter-btn.active { background: var(--grad); color: #fff; border-color: transparent; }
.project-card { display: block; }
.project-card h3 { font-size: 1.15rem; }
.back-link { display: inline-flex; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.back-link:hover { color: #fff; }
.detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; }
.detail-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 24px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.gallery .wm-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.gallery img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.side-box { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); margin-bottom: 20px; }
.side-box h3 { font-size: 1rem; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: .8rem; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 10px; color: var(--muted); font-size: .94rem; }
.feature-list li::before { content: "✓"; color: var(--cyan); font-weight: 700; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2em; }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(251,191,119,.35); background: rgba(251,191,119,.08); color: #fbd8a8; font-size: .88rem; margin-bottom: 30px; }
.faq-list { display: grid; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--glass); padding: 0 22px; transition: border-color .25s; }
.faq-list details[open] { border-color: rgba(139,92,246,.45); }
.faq-list summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: var(--display); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--cyan); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 20px; margin: 0; }
.lightbox { position: fixed; inset: 0; background: rgba(2,3,8,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox .wm-wrap { max-width: min(1100px, 100%); max-height: 90vh; }
.lightbox img { max-height: 88vh; width: auto; margin: auto; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding: 30px; }
.notfound h1 { font-size: clamp(5rem, 18vw, 11rem); margin: 0; }

/* Watermark overlay (non-destructive: original image is never modified) */
.wm-wrap { position: relative; display: block; overflow: hidden; }
.wm-wrap .wm { position: absolute; height: auto; pointer-events: none; user-select: none; aspect-ratio: auto; object-fit: contain; width: var(--wm-size, 22%); opacity: var(--wm-opacity, .35); margin: 3.5%; }
.wm-wrap .wm.bottom-right { right: 0; bottom: 0; } .wm-wrap .wm.bottom-left { left: 0; bottom: 0; }
.wm-wrap .wm.top-right { right: 0; top: 0; } .wm-wrap .wm.top-left { left: 0; top: 0; }
.wm-wrap .wm.center { left: 50%; top: 50%; transform: translate(-50%, -50%); margin: 0; }

@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .gallery { grid-template-columns: 1fr 1fr; } }

/* Soft fade at the bottom of the inner-page hero glow */
.page-hero .hero-bg { -webkit-mask-image: linear-gradient(#000 45%, transparent 100%); mask-image: linear-gradient(#000 45%, transparent 100%); }

/* ===== Theme v2: blue + yellow/orange (logo colours) and animated 3D background ===== */
:root {
  --yellow: #ffcd00;
  --orange: #ff8a00;
  --grad: linear-gradient(135deg, #2f6bff 0%, #6a5cf0 42%, #ff9f1a 100%);
  --grad-warm: linear-gradient(135deg, #ffcd00, #ff8a00);
}
#vynex-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .site-footer { position: relative; z-index: 1; }
.section-alt { background: linear-gradient(180deg, rgba(10, 15, 31, .62), rgba(5, 7, 15, .38)); }
.marquee { background: rgba(10, 15, 31, .55); backdrop-filter: blur(6px); }
.site-footer { background: linear-gradient(180deg, rgba(5, 7, 15, .55), rgba(3, 4, 10, .92)); }
.hero-bg::before { opacity: .3; }
.orb-2 { background: var(--yellow); opacity: .32; }
.orb-3 { background: var(--orange); opacity: .22; }
.eyebrow { color: var(--yellow); }
.hero-meta i { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.marquee-track span::after { color: var(--yellow); }
.btn-primary { box-shadow: 0 10px 30px -10px rgba(255, 150, 30, .55); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(255, 150, 30, .8); }
.card::before { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 190, 40, .14), transparent 45%); }
.card:hover { border-color: rgba(255, 190, 40, .5); }
.card .icon { box-shadow: 0 10px 24px -10px rgba(255, 150, 30, .7); }
.tag { background: rgba(255, 190, 40, .12); color: #ffd978; border-color: rgba(255, 190, 40, .32); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--yellow); background: rgba(255, 205, 0, .05); }
.socials a:hover { background: var(--grad-warm); color: #1a1200; }

/* Logo image (replaces the old drawn mark). Sits on a light tile so the navy "V" stays visible on dark. */
.brand-logo { height: 38px; width: auto; flex: none; background: #fff; border-radius: 10px; padding: 4px 6px; box-shadow: 0 6px 18px -8px rgba(255, 190, 40, .6); }
.footer-brand .brand-logo { height: 44px; }

/* ===== Icons (replace emojis) ===== */
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.card .icon .ico { width: 26px; height: 26px; color: #fff; }
.float-chip { display: inline-flex; align-items: center; gap: 8px; }
.float-chip .ico { color: var(--yellow); }
.contact-list li > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.contact-list li > span .ico { width: 20px; height: 20px; }
.contact-list a:hover { color: var(--yellow); }
.marquee-track span::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--yellow); display: inline-block; border-radius: 1px; }

/* ===== Layout helpers ===== */
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid-5 .card { padding: 24px 22px; }
.grid-5 .card h3 { font-size: 1.04rem; }
.grid-title { font-size: 1.5rem; margin: 0 0 26px; display: flex; align-items: center; gap: 14px; }
.grid-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.hero-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero-art { margin: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 60px -20px rgba(255,190,40,.35); position: relative; transform: perspective(1200px) rotateY(-7deg) rotateX(2deg); transition: transform .6s; }
.hero-art:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-art img { width: 100%; height: auto; display: block; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(47,107,255,.12), rgba(255,160,30,.14)); mix-blend-mode: overlay; pointer-events: none; }
.img-frame::after { background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(255,170,30,.16)); }

/* ===== Business-card elements ===== */
.btn-dark { background: #0b1226; color: #fff; border-color: rgba(255,255,255,.12); white-space: nowrap; }
.btn-dark:hover { transform: translateY(-2px); background: #111a38; }
.price-band { display: flex; align-items: center; gap: 22px; padding: 26px 34px; border-radius: 20px; background: linear-gradient(100deg, #ffcd00, #ff9f1a); color: #101528; box-shadow: 0 24px 60px -24px rgba(255,160,20,.6); position: relative; overflow: hidden; }
.price-band::after { content: ""; position: absolute; right: -40px; top: -60%; width: 220px; height: 220%; background: rgba(255,255,255,.18); transform: skewX(-20deg); pointer-events: none; }
.price-band .pb-ico { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-right: 2px solid rgba(16,21,40,.35); padding-right: 18px; margin-right: 2px; }
.price-band .pb-ico .ico { width: 44px; height: 44px; }
.price-band h3 { margin: 0 0 2px; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: #101528; }
.price-band p { margin: 0; color: rgba(16,21,40,.8); font-weight: 500; }
.price-band > div:nth-child(2) { flex: 1; }
.tagline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow) !important; font-weight: 600; margin: 0 0 18px !important; }
.tagline i { width: 1px; height: 12px; background: var(--line); display: inline-block; }

/* =====================================================================
   v4 — logo without a white tile, richer colour, new sections
   ===================================================================== */
[hidden] { display: none !important; }
:root { --green: #22c55e; --pink: #ff5c93; --teal: #14b8a6; }

/* Logo sits directly on the page (transparent). A very light edge keeps the navy "V" readable on dark. */
.brand-logo { background: none; padding: 0; border-radius: 0; box-shadow: none; height: 44px;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, .95)) drop-shadow(0 0 7px rgba(120, 170, 255, .45)) drop-shadow(0 6px 16px rgba(255, 160, 30, .25)); }
.footer-brand .brand-logo { height: 52px; }

/* Colour accents: every card / step / chip cycles through the brand palette */
.grid > .card, .tech-wrap > .tech, .process > .step, .inc-grid > .inc { --c1: #3b82f6; --c2: #6a5cf0; }
.grid > .card:nth-child(7n+2), .process > .step:nth-child(7n+2), .inc-grid > .inc:nth-child(7n+2) { --c1: #ffcd00; --c2: #ff8a00; }
.grid > .card:nth-child(7n+3), .process > .step:nth-child(7n+3), .inc-grid > .inc:nth-child(7n+3) { --c1: #22d3ee; --c2: #3b82f6; }
.grid > .card:nth-child(7n+4), .process > .step:nth-child(7n+4), .inc-grid > .inc:nth-child(7n+4) { --c1: #ff5c93; --c2: #8b5cf6; }
.grid > .card:nth-child(7n+5), .process > .step:nth-child(7n+5), .inc-grid > .inc:nth-child(7n+5) { --c1: #22c55e; --c2: #14b8a6; }
.grid > .card:nth-child(7n+6), .process > .step:nth-child(7n+6), .inc-grid > .inc:nth-child(7n+6) { --c1: #ff8a00; --c2: #ff5c93; }
.grid > .card:nth-child(7n+7), .process > .step:nth-child(7n+7), .inc-grid > .inc:nth-child(7n+7) { --c1: #8b5cf6; --c2: #22d3ee; }
.grid > .card .icon { background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 26px -12px var(--c1); }
.grid > .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--c1) 22%, transparent), transparent 45%); }
.grid > .card:hover { border-color: color-mix(in srgb, var(--c1) 70%, transparent); box-shadow: 0 22px 50px -26px var(--c1); }
.process > .step::before { background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; }
.process > .step { border-top: 2px solid var(--c1); }
.tech-wrap > .tech:nth-child(6n+1) { --c1: #3b82f6; } .tech-wrap > .tech:nth-child(6n+2) { --c1: #ffcd00; } .tech-wrap > .tech:nth-child(6n+3) { --c1: #22d3ee; }
.tech-wrap > .tech:nth-child(6n+4) { --c1: #ff5c93; } .tech-wrap > .tech:nth-child(6n+5) { --c1: #22c55e; } .tech-wrap > .tech:nth-child(6n+6) { --c1: #ff8a00; }
.tech { border-color: color-mix(in srgb, var(--c1) 38%, transparent); background: color-mix(in srgb, var(--c1) 8%, transparent); }
.tech:hover { border-color: var(--c1); box-shadow: 0 14px 30px -16px var(--c1); }
.section-alt { background: linear-gradient(180deg, rgba(14, 22, 52, .62), rgba(5, 7, 15, .38)); }
#why { background: linear-gradient(180deg, rgba(40, 24, 80, .32), rgba(5, 7, 15, .3)); }
#included { background: linear-gradient(180deg, rgba(10, 40, 60, .34), rgba(5, 7, 15, .3)); }
.gradient-text { background-size: 200% 100%; }

/* Stats band */
.stats-band { padding: 46px 0; position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-big { padding: 26px 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.stat-big::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.stat-big strong { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-big > span { display: block; margin-top: 6px; font-size: .86rem; color: var(--muted); }
.stat-big strong span { display: inline; margin: 0; font-size: inherit; color: inherit; }
.stats-grid > .stat-big:nth-child(1) { --c1: #3b82f6; --c2: #22d3ee; } .stats-grid > .stat-big:nth-child(2) { --c1: #ffcd00; --c2: #ff8a00; }
.stats-grid > .stat-big:nth-child(3) { --c1: #22c55e; --c2: #14b8a6; } .stats-grid > .stat-big:nth-child(4) { --c1: #ff5c93; --c2: #8b5cf6; }

/* "Included with every website" */
.inc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inc { display: flex; gap: 18px; padding: 24px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); border-left: 3px solid var(--c1); transition: transform .7s cubic-bezier(.22, 1, .36, 1), box-shadow .7s, background .7s; }
.inc:hover { transform: translateY(-6px); background: color-mix(in srgb, var(--c1) 8%, transparent); box-shadow: 0 24px 50px -28px var(--c1); }
.inc .inc-ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 12px 26px -12px var(--c1); }
.inc .inc-ico .ico { width: 24px; height: 24px; }
.inc h3 { font-size: 1.05rem; margin: 0 0 6px; }
.inc p { margin: 0; font-size: .92rem; }

/* Industries */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: .94rem; border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent); background: color-mix(in srgb, var(--c1) 10%, transparent); transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s; }
.chip .ico { color: var(--c1); }
.chip:hover { transform: translateY(-5px); box-shadow: 0 16px 34px -18px var(--c1); }
.chip:nth-child(6n+1) { --c1: #3b82f6; } .chip:nth-child(6n+2) { --c1: #ffcd00; } .chip:nth-child(6n+3) { --c1: #22c55e; }
.chip:nth-child(6n+4) { --c1: #ff5c93; } .chip:nth-child(6n+5) { --c1: #22d3ee; } .chip:nth-child(6n+6) { --c1: #ff8a00; }

/* Promise cards (About) */
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise > div { padding: 34px 26px; border-radius: 22px; text-align: center; border: 1px solid var(--line); background: var(--glass); position: relative; overflow: hidden; }
.promise > div::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.promise > div:nth-child(1) { --c1: #3b82f6; --c2: #22d3ee; } .promise > div:nth-child(2) { --c1: #ffcd00; --c2: #ff8a00; } .promise > div:nth-child(3) { --c1: #22c55e; --c2: #14b8a6; }
.promise h3 { font-size: 1.5rem; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promise p { margin: 0; }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); z-index: 200; background: linear-gradient(90deg, #3b82f6, #ffcd00, #ff8a00); pointer-events: none; }

/* Gentler hover motion everywhere */
.card { transition: transform .7s cubic-bezier(.22, 1, .36, 1), border-color .7s, background .7s, box-shadow .7s; }
.btn { transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s, background .6s, border-color .6s; }
.tech { transition: transform .6s cubic-bezier(.22, 1, .36, 1), border-color .6s, box-shadow .6s; }
.faq-list details { transition: border-color .6s, background .6s; }
.faq-list details[open] { background: rgba(255, 205, 0, .05); border-color: rgba(255, 190, 40, .45); }
.faq-list summary::after { color: var(--yellow); transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.nav-links a { transition: color .5s; }

@media (max-width: 1024px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .inc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .stats-grid, .inc-grid, .promise { grid-template-columns: 1fr; } .stat-big strong { font-size: 2.2rem; } }

/* project images: keep covers a sane size (wm-wrap must fill the thumb or the image renders at natural size) */
.project-thumb .wm-wrap { height: 100%; }
.project-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-cover .wm-wrap { aspect-ratio: 16 / 9; max-height: 440px; }
.detail-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery .wm-wrap { aspect-ratio: 16 / 10; }

/* ===== Watermark fix: always a small corner mark ===== */
/* Other image rules (gallery `img { width:100% }`, lightbox `img { width:auto }`, hover zoom) used to override the
   watermark's size and made it cover the whole picture. These rules win over all of them. */
.wm-wrap img.wm {
  position: absolute !important; z-index: 3;
  width: var(--wm-size, 22%) !important; height: auto !important; max-width: none !important; max-height: none !important;
  aspect-ratio: auto !important; object-fit: contain !important;
  opacity: var(--wm-opacity, .35) !important; margin: 3.5% !important;
  transform: none !important; scale: none !important; translate: none !important; transition: none !important; animation: none !important; filter: none !important;
  pointer-events: none; user-select: none;
}
.wm-wrap img.wm.center { left: 50% !important; top: 50% !important; right: auto !important; bottom: auto !important; margin: 0 !important; transform: translate(-50%, -50%) !important; }
