/* ====== DEEP EXPOSURE THEME ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --surface-1: #111111;
  --surface-2: #1a1a1a;
  --accent: #00E87A;
  --text: #FFFFFF;
  --muted: #888888;
  --border: #222;
}

html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: transparent;
  color: var(--text);
  font-family: 'Barlow', system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ====== FLUID CURSOR ====== */
/* Canvas sits behind page content so the trail is visible but nothing is covered */
#fluid-cursor {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  pointer-events: none; z-index: 0;
}
#cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px;
  border-radius: 50%; background: #fff;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%); mix-blend-mode: difference;
}
/* Lift all real content above the cursor canvas */
.site-header, .site-main, .site-footer, .menu-panel, .menu-overlay, .back-to-top { position: relative; z-index: 2; }
.site-header { position: fixed; }
.menu-overlay { position: fixed; z-index: 200; }
.menu-panel { position: fixed; z-index: 201; }
.back-to-top { position: fixed; z-index: 50; }
/* Section backgrounds must be opaque so the canvas only shows through where intended */
section { background: var(--bg); }
.cta-section, .stats-section, .hero, .page-hero, .split-section { background-color: transparent; }
.split-right { background: var(--bg); }
@media (hover: none) { #fluid-cursor, #cursor-dot { display: none; } body { cursor: auto; } }

/* ====== HEADER ====== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: all 0.3s ease;
}
.site-header.scrolled {
  background: rgba(0,0,0,0.8); backdrop-filter: blur(10px);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: 0.04em; }
.logo-text { color: #fff; }
.menu-toggle { background: none; border: none; cursor: none; display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.menu-toggle span { display: block; width: 32px; height: 2px; background: #fff; transition: 0.3s; }
.menu-toggle span:nth-child(2) { width: 22px; align-self: flex-end; }

/* ====== MENU PANEL ====== */
.menu-overlay {
  position: fixed; inset: 0; background: #000; opacity: 0; visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s; z-index: 200;
}
.menu-overlay.open { opacity: 0.5; visibility: visible; }
.menu-panel {
  position: fixed; top: 0; right: 0; height: 100vh; width: 420px; max-width: 90vw;
  background: #111; z-index: 201; padding: 80px 50px;
  transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  overflow-y: auto;
}
.menu-panel.open { transform: translateX(0); }
.menu-orb {
  position: absolute; top: -60px; right: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,232,122,0.6), transparent 70%);
  filter: blur(20px);
}
.menu-close {
  position: absolute; top: 24px; right: 30px; background: none; border: none;
  color: #fff; font-size: 36px; cursor: none;
}
.panel-nav ul { list-style: none; }
.panel-nav li { opacity: 0; transform: translateX(40px); }
.menu-panel.open .panel-nav li { animation: slideInRight 0.5s forwards; }
.menu-panel.open .panel-nav li:nth-child(1){animation-delay:0.15s}
.menu-panel.open .panel-nav li:nth-child(2){animation-delay:0.20s}
.menu-panel.open .panel-nav li:nth-child(3){animation-delay:0.25s}
.menu-panel.open .panel-nav li:nth-child(4){animation-delay:0.30s}
.menu-panel.open .panel-nav li:nth-child(5){animation-delay:0.35s}
.menu-panel.open .panel-nav li:nth-child(6){animation-delay:0.40s}
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }
.panel-nav a {
  display: block; font-size: 38px; font-weight: 800; padding: 12px 0;
  text-transform: uppercase; transition: color 0.3s, transform 0.3s;
}
.panel-nav a:hover { color: var(--accent); transform: translateX(10px); }
.panel-social { margin-top: 60px; position: relative; z-index: 1; }
.panel-social h4 { font-size: 13px; letter-spacing: 0.2em; color: var(--muted); margin-bottom: 16px; }
.social-icons { display: flex; gap: 18px; }
.social-icons a { width: 40px; height: 40px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; transition: 0.3s; }
.social-icons a:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #000; font-weight: 800;
  padding: 16px 32px; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 999px; transition: transform 0.3s ease, filter 0.3s ease;
  font-size: 14px; border: none; cursor: none;
}
.btn-primary:hover { transform: scale(1.03); filter: brightness(1.1); }
.btn-primary .arrow { display: inline-block; transition: transform 0.3s; }
.btn-primary:hover .arrow { transform: translate(2px,-2px); }

/* ====== HERO ====== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(20,40,60,0.6), transparent 60%),
    linear-gradient(180deg, #050505 0%, #000 100%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-title {
  font-weight: 900; font-size: clamp(48px, 10vw, 130px);
  line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em;
}
.hero-line {
  display: block; opacity: 0; transform: translateY(60px);
  animation: heroIn 0.8s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: var(--d, 0.2s);
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-sub { margin-top: 32px; font-size: 14px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
.split-chars span { display: inline-block; opacity: 0; transform: translateY(20px); }

.scroll-down {
  position: absolute; bottom: 40px; left: 32px; z-index: 2;
  width: 60px; height: 60px; border: 1px solid #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

/* ====== BLOBS ====== */
.blob { position: absolute; width: 500px; height: 500px; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.blob-teal { background: radial-gradient(circle, rgba(0,200,180,0.4), transparent 70%); }
.blob-purple { background: radial-gradient(circle, rgba(140,80,200,0.4), transparent 70%); }
.blob-pink { background: radial-gradient(circle, rgba(220,80,150,0.4), transparent 70%); }
.blob-orange { background: radial-gradient(circle, rgba(240,140,40,0.35), transparent 70%); }
.blob-green { background: radial-gradient(circle, rgba(0,232,122,0.35), transparent 70%); }

/* ====== REVEAL ====== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.25s cubic-bezier(0.22,1,0.36,1), transform 1.25s cubic-bezier(0.22,1,0.36,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ====== SECTIONS ====== */
section { position: relative; padding: 100px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* VALUE PROPS */
.value-card { text-align: left; }
.value-icon { font-size: 42px; color: var(--accent); margin-bottom: 24px; line-height: 1; }
.value-card h3 { font-size: 26px; font-weight: 800; margin-bottom: 14px; }
.value-card p { color: var(--muted); }

/* SPLIT */
.split-section { display: grid; grid-template-columns: 1fr 1fr; padding: 0; min-height: 700px; }
.split-left, .split-right { position: relative; overflow: hidden; }
.split-right { padding: 100px 80px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.split-img { position: absolute; inset: 0; }
.split-img-industrial { background: linear-gradient(135deg, #1a2a35, #0a1218); }
.split-img-portrait { background: linear-gradient(180deg, #2a1a3a, #4a1a3a); }
.split-img-team { background: linear-gradient(135deg, #3a2a1a, #1a1010); }
.giant-heading { font-weight: 900; font-size: clamp(48px, 7vw, 90px); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; }

/* PILLARS */
.pillars .pillar { padding: 30px; }
.pillar-num { color: var(--accent); font-weight: 800; font-size: 20px; }
.pillar h3 { font-size: 32px; font-weight: 800; margin: 16px 0; }
.pillar p { color: var(--muted); }

/* MARQUEE */
.marquee { position: absolute; inset: 0; overflow: hidden; pointer-events: none; display: flex; align-items: center; z-index: 0; }
.marquee-inner { display: flex; white-space: nowrap; animation: marquee 25s linear infinite; font-size: clamp(80px, 12vw, 150px); font-weight: 900; color: #333; opacity: 0.25; text-transform: uppercase; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.services-content, .portfolio-content { position: relative; z-index: 2; text-align: center; }
.section-title { font-size: clamp(40px, 5vw, 70px); font-weight: 800; margin-bottom: 20px; }
.section-title em { font-weight: 400; font-style: italic; color: var(--muted); }
.section-sub { color: var(--muted); max-width: 600px; margin: 0 auto 60px; }

.service-card { background: var(--surface-2); padding: 40px 30px; border-radius: 18px; text-align: left; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-6px); }
.service-icon { font-size: 36px; color: var(--accent); margin-bottom: 20px; }
.service-card .num { color: var(--muted); font-weight: 700; }
.service-card h3 { display: inline; font-size: 22px; font-weight: 800; }

.italic-quote { font-style: italic; font-size: 22px; margin: 80px auto 60px; max-width: 800px; color: #ccc; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.stat { text-align: center; }
.stat .count, .stat .plus { font-size: 80px; font-weight: 900; color: var(--accent); line-height: 1; }
.stat p { margin-top: 12px; letter-spacing: 0.15em; font-size: 13px; color: var(--muted); }

/* TESTIMONIALS */
.watermark { font-size: clamp(60px, 8vw, 110px); font-weight: 900; color: rgba(255,255,255,0.06); text-transform: lowercase; position: absolute; top: 40px; left: 60px; pointer-events: none; }
.quote-icon { font-size: 140px; color: #333; line-height: 0.6; font-family: Georgia, serif; }
.testimonial-slider { position: relative; min-height: 220px; margin-top: 20px; }
.testimonial { position: absolute; inset: 0; opacity: 0; transform: translateX(20px); transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out; }
.testimonial.active { opacity: 1; transform: translateX(0); position: relative; }
.testimonial p { font-size: 20px; line-height: 1.5; margin-bottom: 24px; }
.testimonial h4 { font-size: 16px; font-weight: 800; }
.testimonial h4 span { color: var(--muted); font-weight: 400; }
.slider-dots { display: flex; gap: 10px; margin-top: 30px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #fff; background: transparent; cursor: none; padding: 0; transition: 0.3s; }
.dot.active { background: #fff; }

/* PORTFOLIO */
.portfolio-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 50px; }
.portfolio-header h2 { font-size: clamp(36px, 4vw, 56px); font-weight: 800; }
.portfolio-slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; overflow: hidden; }
.portfolio-card { background: #f4eee5; color: #000; border-radius: 18px; padding: 28px; position: relative; min-height: 420px; display: flex; flex-direction: column; transition: transform 0.4s; }
.portfolio-card:hover { transform: translateY(-6px); }
.portfolio-card h3 { font-size: 22px; font-weight: 800; max-width: 70%; }
.card-arrow { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; background: #1a1a1a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.card-img { flex: 1; margin: 20px 0; background: linear-gradient(135deg, #d8c9b0, #b89878); border-radius: 12px; }
.pill { background: #000; color: #fff; padding: 8px 18px; border-radius: 999px; font-size: 12px; letter-spacing: 0.1em; align-self: flex-start; }
.slider-arrows { display: flex; gap: 12px; justify-content: flex-end; margin-top: 30px; }
.slider-arrows button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #fff; background: transparent; color: #fff; cursor: none; font-size: 18px; transition: 0.3s; }
.slider-arrows button:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* CTA */
.cta-section { background: linear-gradient(135deg, #0a2a2a, #051515); position: relative; overflow: hidden; text-align: center; padding: 140px 0; }
.cta-orb { position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(0,232,122,0.4), transparent 70%); filter: blur(40px); }
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 10% 80%, rgba(0,232,122,0.08) 0%, transparent 40%), radial-gradient(circle at 90% 20%, rgba(0,150,120,0.1) 0%, transparent 40%);
}
.cta-content { position: relative; z-index: 2; max-width: 900px; }
.cta-label { color: var(--accent); letter-spacing: 0.3em; font-size: 13px; font-weight: 700; }
.cta-heading { font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: 1.1; margin: 24px 0 28px; text-transform: capitalize; }
.circle-word { position: relative; display: inline-block; padding: 0 12px; text-transform: uppercase; }
.circle-svg { position: absolute; inset: -10% -5%; width: 110%; height: 120%; pointer-events: none; }
.circle-svg ellipse { stroke-dasharray: 700; stroke-dashoffset: 700; }
.circle-svg.draw ellipse { animation: circleDrawIn 0.8s ease forwards; }
@keyframes circleDrawIn { to { stroke-dashoffset: 0; } }
.cta-content p { color: #b8c8c4; margin-bottom: 32px; }

/* ====== FOOTER ====== */
.site-footer { background: #000; padding: 80px 0 40px; text-align: center; border-top: 1px solid var(--border); }
.footer-logo { display: flex; justify-content: center; margin-bottom: 30px; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 13px; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 30px; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 18px; justify-content: center; margin-bottom: 30px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid var(--accent); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; transition: 0.3s; }
.footer-social a:hover { background: var(--accent); color: #000; }
.copyright { color: var(--muted); font-size: 13px; letter-spacing: 0.1em; }

/* ====== BACK TO TOP ====== */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
  border-radius: 50%; border: 1px solid #fff; background: transparent;
  color: #fff; font-size: 18px; cursor: none; opacity: 0; visibility: hidden;
  transition: 0.3s; z-index: 50;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* ====== PAGE HERO ====== */
.page-hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 100px; text-align: center;
}
.page-title-giant {
  font-weight: 900; font-size: clamp(60px, 12vw, 160px); line-height: 0.95;
  text-transform: uppercase; letter-spacing: -0.02em;
}
.page-title { font-weight: 900; font-size: clamp(48px, 8vw, 110px); text-transform: uppercase; }
.watermark-giant { font-weight: 900; font-size: clamp(100px, 22vw, 320px); color: #1a1a1a; text-transform: uppercase; letter-spacing: -0.04em; }

.hero-about { background: linear-gradient(180deg, #0a0a0a, #000); }
.hero-services { background: linear-gradient(135deg, #0a0a14, #050505); }
.green-glow { position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(0,232,122,0.4), transparent 70%); filter: blur(60px); }
.hero-portfolio { background: linear-gradient(135deg, #1a0a2a, #050010); }
.hero-contacts { background: linear-gradient(135deg, #052a25, #051515); }
.hero-contacts::before, .cta-section::after { content: ''; }
.hero-blog { background: linear-gradient(180deg, #0a0a0a, #000); }

/* TEAM GRID */
.why-us { text-align: center; padding: 80px 0; }
.why-us h3 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin: 16px 0; }
.team-grid-section { padding: 60px 0 120px; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card { position: relative; aspect-ratio: 3/4; background: linear-gradient(135deg, #2a2a2a, #111); border-radius: 12px; overflow: hidden; transition: transform 0.3s, filter 0.3s; }
.team-card:hover { transform: scale(1.02); filter: brightness(1.1); }
.team-photo { position: absolute; inset: 0; background: linear-gradient(135deg, #2a2a2a, #111); filter: grayscale(1); }
.team-name { position: absolute; bottom: 20px; left: 20px; font-weight: 800; font-size: 18px; z-index: 2; }
.team-role { position: absolute; bottom: 44px; left: 20px; color: var(--accent); font-size: 13px; z-index: 2; }
.team-card.join { background: var(--surface-2); display: flex; align-items: center; justify-content: center; }
.team-card.join .team-name { position: static; font-size: 28px; }

/* SERVICES PAGE */
.services-list { padding: 100px 0; }
.services-intro { text-align: center; max-width: 800px; margin: 0 auto 80px; }
.services-intro h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin-bottom: 20px; }
.services-intro p { color: var(--muted); margin-bottom: 30px; }
.service-block { display: grid; grid-template-columns: 80px 1fr; gap: 30px; margin-bottom: 100px; align-items: start; }
.service-block .num { color: var(--accent); font-weight: 800; font-size: 22px; }
.service-block h3 { grid-column: 2; font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; }
.service-img { grid-column: 2; height: 360px; border-radius: 18px; margin: 24px 0; }
.service-img-laptop { background: linear-gradient(135deg, #1a2235, #0a1020); }
.service-img-branding { background: linear-gradient(135deg, #2a1a25, #1a0a15); }
.service-block p { grid-column: 2; color: var(--muted); font-size: 18px; }
.testimonial-block { background: var(--surface-1); padding: 60px; border-radius: 18px; text-align: center; }
.big-quote { font-size: 22px; font-style: italic; margin-bottom: 20px; }
.testimonial-block h4 span { color: var(--muted); font-weight: 400; }

/* PORTFOLIO GRID */
.portfolio-grid-section { padding: 100px 0; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }

/* CONTACTS */
.contact-section { padding: 100px 0; }
.accent { color: var(--accent); letter-spacing: 0.2em; font-size: 14px; margin-bottom: 24px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 17px; }
.ci { color: var(--accent); font-size: 22px; }
.stats-section { background: linear-gradient(135deg, #052525, #021010); padding: 100px 0; }

/* BLOG */
.blog-section { padding: 100px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.blog-card .blog-card-img, .blog-card .placeholder-img { aspect-ratio: 4/3; border-radius: 18px; background: linear-gradient(135deg, #2a2a2a, #111); overflow: hidden; }
.blog-card-title { font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; margin: 20px 0 12px; text-transform: uppercase; }
.read-more { color: var(--accent); font-weight: 700; letter-spacing: 0.1em; font-size: 14px; }

/* SINGLE */
.single-post { padding-top: 100px; }
.single-thumb { margin: 40px auto; }
.single-thumb img { border-radius: 18px; }
.single-content { padding: 40px 0 100px; max-width: 800px; }
.single-content p { margin-bottom: 20px; }
.post-meta { color: var(--muted); margin-top: 20px; }

/* 404 */
.error-404 { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-404 h1 { font-size: 200px; font-weight: 900; color: var(--accent); line-height: 1; }
.error-404 p { font-size: 22px; color: var(--muted); margin: 20px 0 30px; }

/* PAGINATION */
.pagination { margin-top: 60px; display: flex; justify-content: center; gap: 8px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--border); border-radius: 8px; }

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-slider { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-left { min-height: 400px; }
  .split-right { padding: 60px 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 70px 0; }
  .grid-3, .grid-2, .blog-grid, .portfolio-grid, .portfolio-slider, .stats-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-panel { width: 100%; padding: 80px 30px; }
  .panel-nav a { font-size: 28px; }
  .portfolio-header { flex-direction: column; gap: 20px; align-items: flex-start; }
  .stat .count, .stat .plus { font-size: 60px; }
  .footer-links { flex-direction: column; gap: 8px; }
  .footer-links span { display: none; }
}
