/* ==========================================================
   DigitOxy — Complete Stylesheet
   Fonts : Funnel Display (headings) · Geist (body / UI)
   Theme : Dark obsidian · Cyan / Violet / Ember accents
   ========================================================== */

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }

body {
  background-color: #09090b;
  color: #f0f0f5;
  font-family: 'Geist', system-ui, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #00e5ff; border-radius: 10px; }

/* ── Film‑grain noise overlay ─────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9990;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .35;
}

/* ==========================================================
   CURSOR  (pointer devices only)
   ========================================================== */
#cursor, #cursor-ring { display: none; pointer-events: none; }

@media (pointer: fine) {
  body { cursor: none; }
  /* Suppress native cursor on every element so cursor:pointer on links/buttons
     doesn't leak through while the custom cursor is active */
  *, *::before, *::after { cursor: none !important; }

  #cursor {
    display: block;
    position: fixed; z-index: 9999;
    width: 12px; height: 12px;
    background: #00e5ff;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;                    /* JS sets to 1 on first mousemove */
    transition: width .16s ease, height .16s ease, background .16s ease, opacity .3s ease;
    will-change: left, top;
  }
  #cursor-ring {
    display: block;
    position: fixed; z-index: 9998;
    width: 40px; height: 40px;
    border: 1.5px solid rgba(0,229,255,.55);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: width .14s ease, height .14s ease, border-color .14s ease, opacity .3s ease;
    will-change: left, top;
  }
  #cursor.hovered      { width: 22px; height: 22px; background: #ff4d1c; }
  #cursor-ring.hovered { width: 56px; height: 56px; border-color: rgba(255,77,28,.55); }
}

/* ==========================================================
   LAYOUT HELPERS
   ========================================================== */
.wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 480px)  { .wrap { padding-inline: 1.5rem; } }
@media (min-width: 768px)  { .wrap { padding-inline: 2.5rem; } }
@media (min-width: 1280px) { .wrap { padding-inline: 4rem;   } }

.section-py { padding-top: 4rem;  padding-bottom: 4rem;  }
@media (min-width: 768px)  { .section-py { padding-top: 6rem;  padding-bottom: 6rem;  } }
@media (min-width: 1280px) { .section-py { padding-top: 9rem;  padding-bottom: 9rem;  } }

.overflow-clip { overflow: hidden; }
.split-line    { display: block; }
section        { position: relative; overflow: hidden; }

/* ==========================================================
   SHARED TYPOGRAPHY
   ========================================================== */
.section-label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
  font-family: 'Geist', sans-serif;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: #00e5ff;
}
.section-label::before {
  content: '';
  display: block; width: 28px; height: 1px;
  background: #00e5ff; flex-shrink: 0;
}

.section-heading {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 1.05; font-weight: 800;
  letter-spacing: -.02em; text-transform: none;
  color: #f0f0f5;
}
.section-heading em { font-style: normal; color: #00e5ff; }

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding: 12px 26px; border-radius: 3px;
  background: #00e5ff; color: #09090b;
  border: none; transition: all .3s ease;
}
@media (min-width: 768px) { .btn-primary { font-size: .88rem; padding: 14px 34px; } }
.btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(0,229,255,.28);
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', sans-serif;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  padding: 12px 26px; border-radius: 3px;
  background: transparent; color: #f0f0f5;
  border: 1px solid rgba(240,240,245,.2);
  transition: all .3s ease;
}
@media (min-width: 768px) { .btn-outline { font-size: .88rem; padding: 14px 34px; } }
.btn-outline:hover { border-color: #f0f0f5; background: rgba(240,240,245,.05); }

/* ==========================================================
   NAVBAR
   ========================================================== */
#navbar {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem;
  transition: all .4s ease;
}
@media (min-width: 768px)  { #navbar { padding: 1.5rem 2.5rem; } }
@media (min-width: 1280px) { #navbar { padding: 1.5rem 4rem;   } }

#navbar.scrolled {
  background: rgba(9,9,11,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,229,255,.08);
  padding-block: 1rem;
}

.nav-logo {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  letter-spacing: .02em; text-transform: uppercase;
  background: linear-gradient(135deg, #00e5ff, #b44fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-decoration: none; line-height: 1;
}
@media (min-width: 768px) { .nav-logo { font-size: 1.75rem; } }
.nav-logo span { -webkit-text-fill-color: #ff4d1c; }

/* Desktop links */
#nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { #nav-links { display: flex; } }

.nav-link {
  font-family: 'Geist', sans-serif;
  font-size: .82rem; font-weight: 500; letter-spacing: .06em;
  text-transform: capitalize; color: #8a8a9a;
  text-decoration: none; position: relative;
  transition: color .3s ease;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #00e5ff;
  transition: width .3s ease;
}
.nav-link:hover { color: #f0f0f5; }
.nav-link:hover::after { width: 100%; }

/* Hamburger */
#hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none;
  padding: 6px; cursor: pointer; z-index: 1001;
}
#hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: #f0f0f5; border-radius: 2px;
  transition: all .3s ease;
}
#hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1024px) { #hamburger { display: none; } }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  background: rgba(9,9,11,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
#mobile-menu.open { display: flex; }

.mob-nav-link {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(2.4rem, 9vw, 3.8rem);
  font-weight: 800; letter-spacing: -.01em; text-transform: none;
  color: #f0f0f5; text-decoration: none;
  transition: color .25s ease;
}
.mob-nav-link:hover { color: #00e5ff; }

.mob-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 1.4rem; color: #8a8a9a;
  background: none; border: none; cursor: pointer;
  transition: color .2s ease;
}
.mob-close:hover { color: #ff4d1c; }

/* ==========================================================
   HERO
   ========================================================== */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 80px; padding-bottom: 60px;
}
@media (min-width: 768px) { #hero { padding-top: 100px; } }

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}
@media (min-width: 768px) { .hero-grid { background-size: 80px 80px; } }

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
@media (min-width: 768px) { .hero-orb { filter: blur(120px); } }

.hero-orb-1 { width: 300px; height: 300px; background: rgba(0,229,255,.09); top: -60px; right: -80px; }
.hero-orb-2 { width: 250px; height: 250px; background: rgba(180,79,255,.07); bottom: 0;   left: -40px; }
.hero-orb-3 { width: 200px; height: 200px; background: rgba(255,77,28,.05);  top: 50%; left: 40%; }
@media (min-width: 768px) {
  .hero-orb-1 { width: 600px; height: 600px; top: -100px; right: -100px; }
  .hero-orb-2 { width: 400px; height: 400px; }
  .hero-orb-3 { width: 300px; height: 300px; }
}

.hero-inner {
  position: relative; z-index: 10;
  width: 100%;
  padding-block: 1.5rem;
}

.hero-content { max-width: 860px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist', sans-serif;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: #00e5ff;
  border: 1px solid rgba(0,229,255,.28);
  border-radius: 100px; padding: 5px 14px;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .hero-tag { font-size: .75rem; padding: 6px 18px; margin-bottom: 2rem; } }
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: #00e5ff; border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.65); }
}

.hero-heading {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  line-height: 1.0; font-weight: 800;
  letter-spacing: -.02em; text-transform: none;
  margin-bottom: 1.5rem;
}
@media (min-width: 480px) { .hero-heading { font-size: clamp(3rem, 6.5vw, 6rem); } }

.hero-heading em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 2px rgba(240,240,245,.4);
}
.hero-heading .accent { color: #00e5ff; }

.hero-sub {
  font-family: 'Geist', sans-serif;
  font-size: .95rem; font-weight: 300; color: #8a8a9a;
  line-height: 1.8; max-width: 480px; margin-bottom: 2rem;
}
@media (min-width: 768px) { .hero-sub { font-size: 1.05rem; margin-bottom: 2.5rem; } }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Floating service tags */
.hero-float {
  display: none;
  flex-direction: column; gap: .75rem;
  position: absolute; right: 4rem; top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 1200px) { .hero-float { display: flex; } }

.service-float-tag {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Geist', sans-serif;
  font-size: .78rem; font-weight: 500; letter-spacing: .05em;
  color: #c4c4d0;
  padding: 8px 18px;
  background: rgba(30,30,36,.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 100px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 10;
}
.scroll-indicator span {
  font-family: 'Geist', sans-serif;
  font-size: .58rem; letter-spacing: .22em;
  text-transform: uppercase; color: #8a8a9a;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, #00e5ff, transparent);
  animation: scroll-anim 2s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================
   STATS
   ========================================================== */
#stats {
  background: #0d0d10;
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-item {
  position: relative;
  text-align: center;
  padding: 1.75rem 1rem;
}
@media (min-width: 768px) { .stat-item { padding: 2.75rem 1rem; } }

.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; height: 60%;
  width: 1px; background: rgba(255,255,255,.06);
}

/* On 2‑col mobile hide divider between col 2 & 3 */
@media (max-width: 767px) {
  .stat-item:nth-child(3)::before { display: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.06); }
}

.stat-num {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #00e5ff, #b44fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font-family: 'Geist', sans-serif;
  font-size: .78rem; color: #8a8a9a;
  letter-spacing: .04em; margin-top: .5rem;
}
@media (min-width: 768px) { .stat-label { font-size: .85rem; } }

/* ==========================================================
   ABOUT
   ========================================================== */
#about { background: #09090b; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* Visual frame */
.about-frame-wrap { position: relative; }
.about-frame-wrap::before {
  content: '';
  position: absolute; inset: -1px;
  background: linear-gradient(135deg, #00e5ff, #b44fff, #ff4d1c);
  border-radius: 4px; z-index: 0; opacity: .55;
}
.about-frame-inner {
  position: relative; z-index: 1; margin: 2px;
  background: #1e1e24; border-radius: 3px; overflow: hidden;
}
.about-visual {
  aspect-ratio: 1;
  background: linear-gradient(135deg,#141418 0%,#1e1e24 50%,#141418 100%);
  position: relative; overflow: hidden;
}
.about-visual svg.grid-svg {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14;
}
.about-box-1 {
  position: absolute; top: 10%; left: 10%; width: 60%; height: 60%;
  border: 1px solid rgba(0,229,255,.2); border-radius: 2px;
}
.about-box-2 {
  position: absolute; top: 20%; left: 20%; width: 60%; height: 60%;
  border: 1px solid rgba(180,79,255,.15); border-radius: 2px;
  transform: rotate(6deg);
}
.about-monogram {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem;
}
.about-do {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(3rem, 12vw, 5rem);
  font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #00e5ff, #b44fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.about-est {
  font-family: 'Geist', sans-serif;
  font-size: .62rem; letter-spacing: .3em; color: #8a8a9a;
  text-transform: uppercase;
}

/* Corner accents */
.ca { position: absolute; width: 20px; height: 20px; }
.ca-tl { top:0; left:0;  border-top:   2px solid #00e5ff; border-left:  2px solid #00e5ff; }
.ca-tr { top:0; right:0; border-top:   2px solid #00e5ff; border-right: 2px solid #00e5ff; }
.ca-bl { bottom:0; left:0;  border-bottom: 2px solid #00e5ff; border-left:  2px solid #00e5ff; }
.ca-br { bottom:0; right:0; border-bottom: 2px solid #00e5ff; border-right: 2px solid #00e5ff; }

.about-badge {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(9,9,11,.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,229,255,.2);
  border-radius: 4px;
  padding: .85rem 1.25rem;
}
.about-badge-lbl {
  font-family: 'Geist', sans-serif;
  font-size: .6rem; letter-spacing: .2em; color: #00e5ff;
  text-transform: uppercase; margin-bottom: 3px;
}
.about-badge-val {
  font-family: 'Geist', sans-serif;
  font-size: 1rem; font-weight: 600; color: #f0f0f5;
}

/* About text */
.about-para {
  font-family: 'Geist', sans-serif;
  font-size: .95rem; color: #8a8a9a;
  line-height: 1.9; margin-bottom: 1.25rem;
}
.about-stat-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: .75rem; margin-bottom: 2rem;
}
.about-stat-card {
  padding: 1rem;
  background: rgba(30,30,36,.5);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 3px;
}
.about-stat-val {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: 1.5rem; font-weight: 800;
}
.about-stat-lbl {
  font-family: 'Geist', sans-serif;
  font-size: .78rem; color: #8a8a9a; margin-top: 3px;
}

/* ==========================================================
   SERVICES
   ========================================================== */
#services { background: #0d0d10; }

.services-intro-text {
  font-family: 'Geist', sans-serif;
  font-size: .95rem; color: #8a8a9a;
  margin-top: .75rem; max-width: 500px;
  margin-inline: auto; line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative; overflow: hidden;
  padding: 1.75rem;
  background: rgba(30,30,36,.5);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 4px;
  transition: border-color .4s ease, transform .4s ease;
}
@media (min-width: 768px) { .service-card { padding: 2.5rem; } }

.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,.04), transparent);
  opacity: 0; transition: opacity .4s ease;
}
.service-card:hover { border-color: rgba(0,229,255,.3); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }

.service-card-num {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: 3.5rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,.04);
  user-select: none; pointer-events: none;
}

.service-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px; font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.service-card h3 {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: -.01em; color: #f0f0f5;
  margin-bottom: .6rem; text-transform: none;
}
.service-card p {
  font-family: 'Geist', sans-serif;
  font-size: .88rem; color: #8a8a9a; line-height: 1.8;
}
.tech-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 1.25rem; }
.tech-pill {
  font-family: 'Geist', sans-serif;
  font-size: .6rem; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  color: #8a8a9a;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 2px; padding: 2px 8px;
}

/* ==========================================================
   PROJECTS
   ========================================================== */
#projects { background: #09090b; }

.projects-header {
  display: flex; flex-wrap: wrap;
  align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 2.5rem;
}

#projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 600px)  { #projects-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { #projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  position: relative;
  border-radius: 4px; overflow: hidden;
  aspect-ratio: 4 / 3;
}
.project-bg {
  width: 100%; height: 100%;
  transition: transform .6s ease;
}
.project-bg-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .5rem;
}
.proj-label {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: 2.5rem; font-weight: 800;
  color: rgba(0,229,255,.28);
}
.proj-emoji { font-size: 1.75rem; }

@media (pointer: fine) {
  .project-card:hover .project-bg { transform: scale(1.06); }
}

.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(9,9,11,.96) 0%,
    rgba(9,9,11,.35) 55%,
    transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 1; transition: opacity .4s ease;
}
@media (min-width: 768px) { .project-overlay { padding: 2rem; opacity: 0; } }
@media (pointer: fine) { .project-card:hover .project-overlay { opacity: 1; } }

.project-tag {
  display: inline-block;
  font-family: 'Geist', sans-serif;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  color: #00e5ff;
  border: 1px solid rgba(0,229,255,.4);
  border-radius: 2px; padding: 2px 8px;
  margin-bottom: .6rem; width: fit-content;
}
.project-overlay h3 {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  text-transform: none; color: #f0f0f5;
}
.project-overlay p {
  font-family: 'Geist', sans-serif;
  font-size: .78rem; color: #8a8a9a; margin-top: 3px;
}

/* ==========================================================
   FAQ
   ========================================================== */
#faq { background: #0d0d10; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 5rem; } }

.faq-intro {
  font-family: 'Geist', sans-serif;
  font-size: .95rem; color: #8a8a9a;
  line-height: 1.8; margin-bottom: 1.75rem;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,.06); }

.faq-trigger {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; background: none; border: none;
  text-align: left; cursor: pointer;
}
@media (min-width: 768px) { .faq-trigger { padding: 1.75rem 0; } }

.faq-q {
  font-family: 'Geist', sans-serif;
  font-size: 1rem; font-weight: 500; color: #f0f0f5;
}
@media (min-width: 768px) { .faq-q { font-size: 1.05rem; } }

.faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #00e5ff;
  transition: all .3s ease;
}
.faq-item.open .faq-icon {
  background: #00e5ff; color: #09090b;
  transform: rotate(45deg);
}
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-body p {
  font-family: 'Geist', sans-serif;
  font-size: .9rem; font-weight: 300;
  color: #8a8a9a; line-height: 1.8;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-body { max-height: 400px; }

/* ==========================================================
   CONTACT
   ========================================================== */
#contact {
  background: linear-gradient(180deg, #0d0d10 0%, #09090b 100%);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 4rem; } }

.contact-intro {
  font-family: 'Geist', sans-serif;
  font-size: .95rem; color: #8a8a9a;
  line-height: 1.8; margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.75rem; }
.contact-detail-item { display: flex; align-items: center; gap: 1rem; }
.c-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 3px; border: 1px solid;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.c-lbl {
  font-family: 'Geist', sans-serif;
  font-size: .6rem; letter-spacing: .15em;
  text-transform: uppercase; margin-bottom: 2px;
}
.c-val {
  font-family: 'Geist', sans-serif;
  font-size: .9rem; color: #c4c4d0; text-decoration: none;
}
.social-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.social-link {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: #8a8a9a; text-decoration: none; font-size: .9rem;
  transition: all .3s ease;
}
.social-link:hover {
  border-color: #00e5ff; color: #00e5ff;
  background: rgba(0,229,255,.06);
}

/* Contact form */
.contact-form {
  background: rgba(30,30,36,.4);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px; padding: 1.5rem;
}
@media (min-width: 768px) { .contact-form { padding: 2.5rem; } }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 540px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group:last-child { margin-bottom: 0; }

.contact-label {
  font-family: 'Geist', sans-serif;
  font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: #8a8a9a; margin-bottom: 7px;
}
.contact-input {
  width: 100%; padding: 12px 16px;
  background: rgba(30,30,36,.7);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 3px; outline: none;
  font-family: 'Geist', sans-serif; font-size: .9rem; color: #f0f0f5;
  transition: border-color .3s ease;
  -webkit-appearance: none; appearance: none;
}
@media (min-width: 768px) { .contact-input { padding: 13px 18px; font-size: .95rem; } }
.contact-input::placeholder { color: #8a8a9a; }
.contact-input:focus { border-color: rgba(0,229,255,.45); }

/* ==========================================================
   PRIVACY POPUP
   ========================================================== */
#pp-overlay {
  position: fixed; inset: 0; z-index: 10000;
  display: none;                          /* JS sets to flex on open */
  align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,.8);
}
#pp-overlay.open {
  display: flex;
}

#pp-panel {
  position: relative;
  width: 100%; max-width: 720px; max-height: 90svh;
  background: #0d0d10;
  border: 1px solid rgba(0,229,255,.14);
  border-bottom: none;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  /* transform handled entirely by GSAP in main.js */
}

#pp-panel::before {
  content: '';
  display: block; width: 42px; height: 4px;
  background: rgba(255,255,255,.14);
  border-radius: 10px;
  margin: 14px auto 0;
  flex-shrink: 0;
}
#pp-inner {
  overflow-y: auto; flex: 1;
  padding: 1.5rem 1.5rem 3rem;
  scrollbar-width: thin; scrollbar-color: #00e5ff #0d0d10;
}
@media (min-width: 600px) { #pp-inner { padding: 2rem 2.5rem 3rem; } }

#pp-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: #8a8a9a; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
#pp-close:hover { background: rgba(255,77,28,.15); color: #ff4d1c; border-color: #ff4d1c; }

#pp-badge {
  display: inline-block;
  font-family: 'Geist', sans-serif;
  font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: #00e5ff;
  border: 1px solid rgba(0,229,255,.28); border-radius: 100px;
  padding: 3px 12px; margin-bottom: 1rem;
}
#pp-title {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800; text-transform: none;
  color: #f0f0f5; line-height: 1.05; margin-bottom: .5rem;
}
#pp-meta { font-family: 'Geist', sans-serif; font-size: .76rem; color: #8a8a9a; margin-bottom: 2rem; }
#pp-header { margin-top: 1rem; }

.pp-block { margin-bottom: 1.75rem; }
.pp-block h3 {
  font-family: 'Geist', sans-serif;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: #00e5ff; margin-bottom: .5rem;
}
.pp-block p {
  font-family: 'Geist', sans-serif;
  font-size: .88rem; color: #8a8a9a; line-height: 1.85;
}

/* ==========================================================
   FOOTER
   ========================================================== */
#footer {
  position: relative; overflow: hidden;
  background: #080809;
  border-top: 1px solid rgba(255,255,255,.04);
}

/* Particle canvas */
#footer-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  opacity: .65;
}

/* ── Ticker ── */
#footer-ticker {
  position: relative; z-index: 2;
  overflow: hidden; padding: .85rem 0;
  background: rgba(0,229,255,.025);
  border-bottom: 1px solid rgba(255,255,255,.05);
  border-top: 1px solid rgba(255,255,255,.05);
}
#ticker-track {
  display: flex; align-items: center; gap: 2rem;
  width: max-content; white-space: nowrap;
  animation: ticker-run 30s linear infinite;
  will-change: transform;
}
@keyframes ticker-run {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tick-item {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(.85rem, 1.5vw, 1.05rem);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #c4c4d0;
}
.tick-sep { color: #00e5ff; font-size: .65rem; opacity: .55; }

/* ── Giant ghost wordmark ── */
#footer-wordmark-wrap {
  position: relative; z-index: 2;
  padding-top: 3rem; text-align: center; overflow: hidden;
}
@media (min-width: 768px) { #footer-wordmark-wrap { padding-top: 4rem; } }

#footer-wordmark {
  font-family: 'Funnel Display', 'Geist', sans-serif;
  font-size: clamp(4.5rem, 19vw, 17rem);
  font-weight: 900; line-height: .85;
  letter-spacing: -.03em; text-transform: none;
  background: linear-gradient(180deg,
    rgba(240,240,245,.13) 0%,
    rgba(240,240,245,.02) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(0,229,255,.07);
  user-select: none;
}

/* ── Gradient divider (replaces wave) ── */
#footer-divider {
  position: relative; z-index: 2;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    #00e5ff 20%,
    #b44fff 50%,
    #ff4d1c 80%,
    transparent 100%);
  opacity: .35;
  margin: 0;
}

/* ── Info columns ── */
#footer-info-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  padding-top: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
@media (min-width: 768px) { #footer-info-row { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.footer-col-label {
  font-family: 'Geist', sans-serif;
  font-size: .6rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: #00e5ff; margin-bottom: .6rem;
}
.footer-col-text {
  font-family: 'Geist', sans-serif;
  font-size: .85rem; color: #8a8a9a; line-height: 1.75;
}

/* ── Bottom bar ── */
#footer-bottom {
  position: relative; z-index: 2;
  padding-top: 1.25rem; padding-bottom: 1.75rem;
}
#footer-bottom-inner {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: .75rem;
}
.footer-copy {
  font-family: 'Geist', sans-serif;
  font-size: .74rem; color: #8a8a9a;
}
.footer-pp-btn {
  font-family: 'Geist', sans-serif;
  font-size: .74rem; color: #8a8a9a;
  background: none; border: none; cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(0,229,255,.3);
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.footer-pp-btn:hover { color: #00e5ff; }
