/* ==========================================
   BAQODE STUDIO — PREMIUM CSS v2
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --bg: #000000;
  --surface: #0c0c0c;
  --surface-2: #111111;
  --surface-hover: #161616;
  --text: #f5f5f5;
  --text-dim: #999999;
  --text-faint: #444444;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.2);
  --accent: #e8ff47;        /* Electric lime — the brand punch */
  --accent-dim: rgba(232, 255, 71, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 12px;
  --max-width: 1160px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ==========================================
   1. RESET & BASE
   ========================================== */
*, *::before, *::after {
  margin: 0; padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.loaded { opacity: 1; }
body.fade-out { opacity: 0; }
body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.section { padding: 140px 0; }

/* ==========================================
   2. TOPBAR / NAVBAR
   ========================================== */
.topbar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 820px;
  z-index: 1000;
  transition: top 0.3s ease;
}

.topbar-inner {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 16px;
  background: rgba(8, 8, 8, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.brand:hover .brand-logo {
  opacity: 0.7;
}

.brand-icon, .brand-text { display: none; }

.menu-btn {
  display: block;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 100px;
  z-index: 1001;
  transition: all 0.25s ease;
}

.menu-btn:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
}

/* ==========================================
   3. FULL-SCREEN NAV
   ========================================== */
.nav {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 8vw;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.nav.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

/* Main nav links only — excludes nav-footer links */
.nav > a {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-faint);
  text-transform: uppercase;
  line-height: 1;
  padding: 8px 0;
  transform: translateY(50px);
  opacity: 0;
  transition: color 0.25s ease,
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

.nav > a::after {
  content: attr(data-num);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-faint);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav.active > a {
  transform: translateY(0);
  opacity: 1;
}

.nav.active > a:nth-child(1) { transition-delay: 0.05s; }
.nav.active > a:nth-child(2) { transition-delay: 0.1s; }
.nav.active > a:nth-child(3) { transition-delay: 0.15s; }
.nav.active > a:nth-child(4) { transition-delay: 0.2s; }
.nav.active > a:nth-child(5) { transition-delay: 0.25s; }

.nav > a:hover, .nav > a.active-link {
  color: var(--text);
}

.nav > a:hover::after { opacity: 1; }

/* Nav footer — small, separate from big links */
.nav-footer {
  position: absolute;
  bottom: 40px;
  left: 8vw;
  right: 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0;
  transform: none;
  transition: opacity 0.5s ease 0.3s;
}

.nav.active .nav-footer {
  opacity: 1;
}

.nav-footer-links { display: flex; gap: 20px; }
.nav-footer a {
  color: var(--text-dim);
  font-size: 0.82rem;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 0;
  transform: none !important;
  opacity: 1 !important;
  transition: color 0.2s !important;
  transition-delay: 0s !important;
}
.nav-footer a:hover { color: var(--text); }

body.menu-open .topbar-inner {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* ==========================================
   4. HERO
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(232, 255, 71, 0.06) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 36px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9.5vw, 8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 28px;
}

.text-accent { color: var(--accent); }

.hero p {
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   5. BUTTONS
   ========================================== */
.btn {
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: #f3ff6a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 255, 71, 0.25);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--surface-2);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-dim);
  padding-left: 0; padding-right: 0;
}

.btn-ghost:hover { color: var(--text); }

/* ==========================================
   6. MARQUEE
   ========================================== */
.marquee-container {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  display: inline-block;
  animation: marquee-scroll 30s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-faint);
  margin: 0 32px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.marquee span.dot { color: var(--accent); margin: 0 8px; }

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================
   7. SECTION HEADERS
   ========================================== */
.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-header { margin-bottom: 72px; }

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
}

/* ==========================================
   8. SERVICES / BENTO GRID
   ========================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: border-color 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(232, 255, 71, 0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.bento-card:hover::before { opacity: 1; }
.bento-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-2);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-12 { grid-column: span 12; }

.card-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-faint);
  letter-spacing: 0.1em;
  margin-bottom: auto;
  padding-bottom: 40px;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: auto;
  padding-bottom: 32px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.bento-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.card-tag {
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ==========================================
   9. STATS ROW
   ========================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 80px;
}

.stat-item {
  background: var(--surface);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
}

.stat-num span { color: var(--accent); }

.stat-label {
  color: var(--text-dim);
  font-size: 0.875rem;
  font-weight: 300;
}

/* ==========================================
   10. WORK / PORTFOLIO GRID
   ========================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

.project-image {
  height: 280px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image-inner {
  transform: scale(1.04);
}

.project-info {
  padding: 28px 32px 32px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.project-year {
  font-size: 0.8rem;
  color: var(--text-faint);
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.project-info p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.2s, gap 0.2s;
}

.project-link:hover { color: var(--accent); gap: 10px; }

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

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 28px;
}

.about-text p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.values-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.value-item:first-child { border-top: 1px solid var(--border); }

.value-num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  padding-top: 3px;
}

.value-text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.value-text p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin: 0;
}

.about-visual {
  position: sticky;
  top: 120px;
}

.about-card-big {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 48px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.about-card-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 10rem;
  font-weight: 800;
  color: rgba(232, 255, 71, 0.04);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}

.about-card-big h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.about-card-big p {
  color: var(--text-dim);
  position: relative;
  z-index: 1;
  font-weight: 300;
  line-height: 1.7;
}

/* ==========================================
   12. CONTACT
   ========================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.contact-left p {
  color: var(--text-dim);
  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
}

.big-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
  width: 100%;
}

.big-email:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-socials {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.social-link {
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.25s;
}

.social-link:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--surface-2);
}

/* Contact Form */
.modern-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.form-group {
  margin-bottom: 28px;
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.modern-form input,
.modern-form textarea,
.modern-form select {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: all 0.25s;
  appearance: none;
}

.modern-form input::placeholder,
.modern-form textarea::placeholder { color: var(--text-faint); }

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(232, 255, 71, 0.08);
}

.modern-form textarea {
  height: 120px;
  resize: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

/* ==========================================
   13. FAQ
   ========================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 28px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--text-dim);
  transition: all 0.3s;
}

.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 28px;
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ==========================================
   14. FOOTER
   ========================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 72px 0 40px;
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* Top grid: logo col + 3 link cols */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 180px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-faint);
  line-height: 1.7;
  font-weight: 300;
  max-width: 220px;
  margin-bottom: 20px;
}

.footer-email {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

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

.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); }

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.78rem;
  color: var(--text-faint);
}

.footer-bottom-right { display: flex; gap: 24px; }
.footer-bottom-right a { color: var(--text-faint); transition: color 0.2s; }
.footer-bottom-right a:hover { color: var(--text-dim); }

/* Keep brand/logo/links classes inert so old refs don't break */
.footer-brand, .footer-inner, .footer-center, .footer-links { display: none; }
.footer-brand-icon { display: none; }

/* ==========================================
   15. PAGE HERO (inner pages)
   ========================================== */
.page-hero {
  padding: 180px 0 80px;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 20px;
}

.page-hero p {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 500px;
  line-height: 1.7;
  font-weight: 300;
}

/* ==========================================
   16. SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================
   17. RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .bento-card.col-8 { grid-column: span 12; }
  .bento-card.col-4 { grid-column: span 6; }
  .bento-card.col-6 { grid-column: span 12; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { position: static; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 60px; }
  .topbar { width: calc(100% - 32px); top: 16px; }
  .bento-card.col-4 { grid-column: span 12; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer — single column, fully centered */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-logo-col {
    align-items: center;
  }
  .footer-logo {
  width: 120px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
}
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col a {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-bottom-right { justify-content: center; }
}

@media (max-width: 640px) {
  .section { padding: 100px 0; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .nav > a { font-size: clamp(2.2rem, 10vw, 4rem); }
  .nav-footer { bottom: 24px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .modern-form { padding: 28px 24px; }
  .contact-socials { flex-wrap: wrap; }
}

/* ==========================================
   FEATURED PROJECT (work.html)
   ========================================== */
.project-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 0;
  transition: border-color 0.3s;
}

.project-featured:hover {
  border-color: var(--border-hover);
}

.project-featured-visual {
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.project-featured-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px;
  min-height: 420px;
}

.pf-logo {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.05em;
  line-height: 1;
}

.pf-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.pf-line {
  height: 6px;
  border-radius: 100px;
}

.project-featured-info {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-featured-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 20px;
}

.project-featured-desc {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 300;
}

@media (max-width: 900px) {
  .project-featured {
    grid-template-columns: 1fr;
  }
  .project-featured-visual { min-height: 240px; }
  .project-featured-inner { min-height: 240px; }
  .project-featured-info { padding: 36px 28px; }
}