/* ============================================================
   FRAMELAB STUDIO — style.css
   ============================================================ */

/* ROOT VARIABLES */
:root {
  --bg:          #080808;
  --surface:     #0f0f0f;
  --card:        #111111;
  --text:        #f0ede6;
  --text-muted:  #555555;
  --accent:      #c8ff00;
  --accent-dim:  rgba(200,255,0,0.12);
  --border:      rgba(255,255,255,0.07);
  --white:       #ffffff;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
select, input, textarea { font-family: inherit; }

/* CUSTOM CURSOR */
#cursor-outer {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, border-color 0.2s, opacity 0.2s;
  will-change: transform;
}

#cursor-inner {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#cursor-outer.cursor-hover {
  width: 64px;
  height: 64px;
  background: rgba(200,255,0,0.1);
  border-color: rgba(200,255,0,0.5);
}

#cursor-outer.cursor-hover ~ #cursor-inner,
#cursor-inner.cursor-hover {
  opacity: 0;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* PRELOADER */
#preloader {
  position: fixed;
  inset: 0;
  background: #080808;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.preloader-inner {
  text-align: center;
}

.preloader-counter {
  font-family: 'Syne', sans-serif;
  font-size: clamp(80px, 15vw, 180px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  will-change: transform;
}

.preloader-name {
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin-top: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.preloader-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.06);
}

.preloader-fill {
  height: 100%;
  background: var(--accent);
  width: 0%;
  transition: width 0.05s linear;
}

/* NOISE OVERLAY */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.035;
  mix-blend-mode: overlay;
}

/* NAVIGATION */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
  will-change: transform;
}

#navbar.scrolled {
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 16px 40px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: #888;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sound-toggle {
  font-size: 16px;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
  user-select: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
}

.sound-toggle:hover { color: var(--accent); border-color: var(--accent); }
.sound-toggle.active { color: var(--accent); border-color: var(--accent); }

.nav-cta {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 10px 22px;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform 0.3s ease;
}

.nav-cta:hover { color: #080808; }
.nav-cta:hover::before { transform: translateX(0); }
.nav-cta span { position: relative; z-index: 1; }

/* For the text inside nav-cta to appear above pseudo */
.nav-cta { position: relative; z-index: 0; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #080808;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transform: translateX(-100%);
  will-change: transform;
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 24px;
  color: #555;
  cursor: pointer;
  transition: color 0.2s;
}

.mobile-close:hover { color: var(--text); }

.mobile-links {
  list-style: none;
}

.mobile-links li {
  overflow: hidden;
  margin-bottom: 8px;
}

.mobile-link {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 8vw, 52px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--accent); }

.mobile-footer {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-footer a {
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}

.mobile-footer a:hover { color: var(--accent); }

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #080808;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: opacity 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--text);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* SECTION COMMONS */
section {
  padding: clamp(80px, 10vw, 160px) 0;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
}

.section-num {
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 800;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  font-family: 'Syne', sans-serif;
}

/* HERO */
#hero {
  min-height: 100svh;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(200,255,0,0.25);
  background: rgba(200,255,0,0.05);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 32px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.4; transform:scale(0.8); }
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  will-change: transform;
}

.hero-title .italic {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  color: rgba(240,237,230,0.65);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  will-change: transform, opacity;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-indicator span {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #444;
  writing-mode: vertical-lr;
  rotate: 180deg;
}

.scroll-line {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  position: relative;
}

.scroll-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: -1.5px;
  top: 0;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0% { top: 0; opacity: 1; }
  100% { top: 76px; opacity: 0; }
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-stat {
  text-align: center;
}

.hero-stat strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.hero-stat span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
}

/* HERO BLOBS */
.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  animation: blobFloat 20s ease-in-out infinite alternate;
}

.blob-1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  opacity: 0.06;
  top: -200px;
  left: -200px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: #00ff88;
  opacity: 0.05;
  bottom: -100px;
  right: -100px;
}

@keyframes blobFloat {
  from { transform: translate(0, 0); }
  to { transform: translate(40px, 30px); }
}

/* MARQUEE */
.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-row {
  display: flex;
  white-space: nowrap;
  overflow: hidden;
}

.marquee-row + .marquee-row { margin-top: 12px; }

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  will-change: transform;
  font-family: 'Syne', sans-serif;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 700;
  padding-right: 32px;
}

.row-1 .marquee-track { color: var(--text); }

.row-2 .marquee-track {
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  color: transparent;
}

.marquee-track .sep {
  color: var(--accent);
  opacity: 0.6;
}

.row-2 .marquee-track .sep {
  -webkit-text-stroke: 0;
  color: rgba(200,255,0,0.3);
}

/* SELECTED WORK */
#work .section-header { margin-bottom: 0; }

.projects-list {
  border-top: 1px solid var(--border);
}

.project-row {
  display: grid;
  grid-template-columns: 60px 1fr auto auto 40px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  will-change: transform, opacity;
}

.project-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(200,255,0,0.03);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.project-row:hover::before { transform: scaleX(1); }

.project-num {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  color: #333;
  font-weight: 700;
  transition: color 0.3s;
}

.project-row:hover .project-num { color: rgba(200,255,0,0.4); }

.project-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  margin: 0 0 8px;
  transition: color 0.3s;
}

.project-row:hover .project-name { color: var(--accent); }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  border: 1px solid var(--border);
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 100px;
  color: #555;
}

.project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.project-year {
  font-size: 13px;
  color: #444;
}

.project-category {
  font-size: 13px;
  color: #555;
  letter-spacing: 0.05em;
}

.project-arrow {
  font-size: 24px;
  color: var(--accent);
  transition: transform 0.3s;
}

.project-row:hover .project-arrow { transform: translate(4px, -4px); }

.project-coming { opacity: 0.4; cursor: default; }
.project-coming:hover::before { transform: scaleX(0); }
.project-coming:hover .project-name { color: var(--text); }

.project-hover-img {
  position: fixed;
  width: 320px;
  height: 220px;
  pointer-events: none;
  z-index: 200;
  overflow: hidden;
  border-radius: 4px;
  opacity: 0;
  transform: scale(0.9) rotate(-3deg);
  transition: opacity 0.3s, transform 0.3s;
  top: 0; left: 0;
}

.project-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-row:hover .project-hover-img {
  opacity: 1;
  transform: scale(1) rotate(-1deg);
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

#about .section-label {
  display: block;
  margin-bottom: 20px;
}

#about h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 28px;
}

#about h2 em {
  font-style: italic;
  color: var(--accent);
}

#about p {
  color: rgba(240,237,230,0.65);
  margin-bottom: 20px;
}

#about .btn-primary { margin-top: 12px; }

.about-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 32px;
}

.about-image-wrap img {
  width: 100%;
  display: block;
  filter: grayscale(30%);
  transition: filter 0.5s;
}

.about-image-wrap:hover img { filter: grayscale(0%); }

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(8,8,8,0.9);
  border: 1px solid var(--border);
  padding: 16px 20px;
  border-radius: 4px;
  backdrop-filter: blur(12px);
}

.badge-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--accent);
  display: block;
  line-height: 1;
}

.badge-text {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item span {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 6px;
}

.skill-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
}

.skill-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 1px;
  width: 0%;
  will-change: width;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--bg);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  will-change: transform, opacity;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover { background: var(--surface); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

.card-arrow {
  font-size: 20px;
  color: #333;
  position: absolute;
  bottom: 32px;
  right: 32px;
  transition: transform 0.3s, color 0.3s;
  display: block;
}

.service-card:hover .card-arrow {
  transform: translate(4px, -4px);
  color: var(--accent);
}

/* STATS */
.stats-section {
  padding: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 60px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.stat-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 7vw, 88px);
  color: var(--accent);
  line-height: 1;
}

.stat-suffix {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: rgba(200,255,0,0.5);
  line-height: 1;
}

.stat-item p {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
}

/* PROCESS */
.process-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

.process-item {
  background: var(--bg);
  padding: 48px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.3s;
  will-change: transform, opacity;
}

.process-item:hover { background: var(--surface); }

.process-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 60px);
  color: rgba(200,255,0,0.15);
  flex-shrink: 0;
  line-height: 1;
}

.process-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  margin-bottom: 12px;
}

.process-item p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
}

/* CONTACT */
#contact .contact-top {
  margin-bottom: 64px;
}

.contact-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin: 16px 0 24px;
}

.ct-line {
  display: block;
  overflow: hidden;
}

.ct-inner {
  display: block;
  will-change: transform;
}

.contact-title .italic {
  font-style: italic;
  color: var(--accent);
}

#contact .contact-top > p {
  color: rgba(240,237,230,0.65);
  max-width: 480px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #444;
}

.contact-item a,
.contact-item span {
  font-size: 17px;
  color: var(--text);
  transition: color 0.2s;
}

.contact-item a:hover { color: var(--accent); }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: 2px;
  font-weight: 500;
  font-size: 15px;
  transition: opacity 0.2s;
  margin-top: 8px;
  align-self: flex-start;
}

.whatsapp-btn:hover { opacity: 0.85; color: white; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
  outline: none;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: #111;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #444;
}

.submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 16px 28px;
  margin-top: 8px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.2s;
}

.submit-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(200,255,0,0.08);
  border: 1px solid rgba(200,255,0,0.2);
  border-radius: 2px;
  color: var(--accent);
  font-size: 15px;
  text-align: center;
}

.form-success.show { display: block; }

.form-error {
  display: none;
  padding: 16px;
  background: rgba(255, 60, 60, 0.08);
  border: 1px solid rgba(255, 60, 60, 0.25);
  border-radius: 2px;
  color: #ff6b6b;
  font-size: 15px;
  text-align: center;
}

.form-error.show { display: block; }

/* FOOTER */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
}

.footer-marquee {
  overflow: hidden;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.footer-marquee-track {
  display: flex;
  white-space: nowrap;
  align-items: center;
  gap: 40px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.1);
  will-change: transform;
}

.footer-marquee-track .sep {
  color: rgba(200,255,0,0.2);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding: 60px 0;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo span { color: var(--accent); }

.footer-brand p {
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.footer-nav a,
.footer-social a {
  color: #444;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-social a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #444;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor-outer, #cursor-inner { display: none; }
  .noise-overlay { display: none; }

  .container { padding: 0 20px; }
  #navbar { padding: 20px; }
  #navbar.scrolled { padding: 14px 20px; }

  .nav-links { display: none; }
  .nav-right { display: none; }
  .hamburger { display: flex; }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-right {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .scroll-indicator { display: none; }

  .hero-stats {
    flex-direction: row;
    gap: 32px;
  }

  .project-row {
    grid-template-columns: 40px 1fr 32px;
    gap: 16px;
  }

  .project-meta { display: none; }
  .project-hover-img { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .section-header { flex-wrap: wrap; gap: 0; }
  .section-num { font-size: clamp(60px, 15vw, 100px); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .hero-stats {
    flex-direction: row;
    gap: 20px;
  }

  .hero-stat strong { font-size: 22px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .process-item { padding: 32px 24px; }
}
