/* ─── Font ───────────────────────────────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Variable.woff2') format('woff2'),
       url('/assets/fonts/Montserrat-Variable.ttf')   format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Dark theme (default) */
  --bg:           #000000;
  --bg-2:         #0d0d0d;
  --bg-3:         #1a1a1a;
  --border:       rgba(255,255,255,0.08);
  --border-md:    rgba(255,255,255,0.16);
  --text:         #ffffff;
  --text-muted:   rgba(255,255,255,0.65);
  --text-subtle:  rgba(255,255,255,0.32);
  --accent:       #ffffff;

  --radius:       10px;
  --radius-lg:    18px;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:          0.55s;
  --container:    min(100% - 3rem, 1180px);
  --section-py:   clamp(80px, 10vw, 140px);
  --font:         'Montserrat', system-ui, -apple-system, sans-serif;
}

/* ─── Light section override ─────────────────────────────────── */
.section-light {
  --bg:          #ffffff;
  --bg-2:        #f4f4f4;
  --bg-3:        #ebebeb;
  --border:      rgba(0,0,0,0.08);
  --border-md:   rgba(0,0,0,0.16);
  --text:        #000000;
  --text-muted:  rgba(0,0,0,0.6);
  --text-subtle: rgba(0,0,0,0.3);
  --accent:      #000000;
  background: #ffffff;
  color: #000000;
}

/* Light section: btn variants */
.section-light .btn-primary    { background: #000; color: #fff; }
.section-light .btn-primary:hover { background: #222; }
.section-light .btn-ghost      { border-color: rgba(0,0,0,0.2); color: #000; }
.section-light .btn-ghost:hover { border-color: #000; background: rgba(0,0,0,0.04); }

/* Light section: forms */
.section-light .form-input,
.section-light .form-textarea  { background: #fff; border-color: rgba(0,0,0,0.12); color: #000; }
.section-light .form-input::placeholder,
.section-light .form-textarea::placeholder { color: rgba(0,0,0,0.3); }

/* Light section: cards */
.section-light .service-card   { background: #ffffff; }
.section-light .service-card:hover { background: #f9f9f9; }
.section-light .services-grid  { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.08); }

/* Light section: nav override when scrolled over light area */
.section-light .testimonial-card { background: #f4f4f4; border-color: rgba(0,0,0,0.07); }

/* Light: faq */
.section-light .faq-item       { border-color: rgba(0,0,0,0.1); }
.section-light .faq-question   { color: #000; }
.section-light .faq-question:hover { color: rgba(0,0,0,0.5); }
.section-light .faq-icon       { border-color: rgba(0,0,0,0.2); color: rgba(0,0,0,0.5); }
.section-light .faq-item.open .faq-icon { background: #000; color: #fff; border-color: #000; }
.section-light .faq-answer     { color: rgba(0,0,0,0.6); }

/* Light: about list */
.section-light .about-list li::before { background: rgba(0,0,0,0.4); }
.section-light .about-image    { border-color: rgba(0,0,0,0.1); background: #f0f0f0; }
.section-light .about-image-placeholder { color: rgba(0,0,0,0.3); }
.section-light .about-badges .badge { background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.1); color: #000; }

/* Light: borders around sections */
.section-light + section,
section + .section-light { border-top: 1px solid rgba(0,0,0,0.0); }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
}

::selection { background: rgba(255,255,255,0.15); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Typography ───────────────────────────────────────────── */
.display-1 {
  font-size: clamp(2.8rem, 6vw + 1rem, 7rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.display-2 {
  font-size: clamp(2rem, 4vw + 0.5rem, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}
.title-1 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.title-2 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.body-lg { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.8; color: var(--text-muted); }
.body-md { font-size: 1rem; line-height: 1.75; color: var(--text-muted); }

/* ─── Layout ───────────────────────────────────────────────── */
.container { width: var(--container); margin-inline: auto; }
.section { padding-block: var(--section-py); }
.section-sm { padding-block: clamp(50px, 6vw, 90px); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

/* ─── Divider ──────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); }

/* ─── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: rgba(255,255,255,0.88); transform: translateY(-1px); }

.btn-ghost {
  border: 1px solid var(--border-md);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,0.04); }

.btn svg { flex-shrink: 0; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

/* ─── Navigation ───────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.4s ease, padding 0.4s ease, border-bottom 0.4s;
}
#nav.scrolled {
  background: rgba(8,8,8,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo img { height: 30px; width: auto; }
.nav-logo-text { font-weight: 800; font-size: 1.25rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: auto; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text); }

/* ─── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(60px, 8vw, 120px);
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero-bg-glow {
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border-md);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}
.hero-label-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse-green 2s ease infinite;
}
@keyframes pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline { margin-bottom: 2rem; }
.hero-headline em {
  font-style: normal;
  color: var(--text-muted);
}

.hero-sub {
  max-width: 520px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--text-subtle), transparent);
  animation: scroll-line 2s ease infinite;
}
@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ─── Section header ───────────────────────────────────────── */
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.section-number {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
}

/* ─── Services ─────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-card {
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: var(--bg-2); }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.02), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover::after { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}
.service-card:hover .service-icon { border-color: var(--border-md); color: var(--text); }

.service-num {
  position: absolute;
  top: 1.75rem; right: 1.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
}
.service-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.service-text { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.tag {
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ─── Projects ─────────────────────────────────────────────── */
.project-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
  background: transparent;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--text);
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  transition: border-color 0.3s, transform 0.3s var(--ease);
  cursor: pointer;
}
.project-card:hover { border-color: var(--border-md); transform: translateY(-4px); }
.project-card.featured { grid-column: span 2; }

.project-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-3);
  position: relative;
}
.project-card.featured .project-img { aspect-ratio: 21/9; }
.project-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-img img { transform: scale(1.04); }

.project-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
}

.project-body { padding: 1.5rem; }
.project-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.project-cat {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.project-year {
  font-size: 0.72rem;
  color: var(--text-subtle);
}
.project-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.project-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.project-metrics {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.metric { }
.metric-value { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.metric-label { font-size: 0.72rem; color: var(--text-muted); }

.projects-empty {
  grid-column: span 2;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}

/* ─── About ────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-2);
  position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 0.85rem;
}
.about-badges {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.badge {
  padding: 0.4rem 0.85rem;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-md);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.about-content { }
.about-text { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.25rem; }
.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.about-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.testimonial-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  color: #facc15;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-size: 0.875rem; font-weight: 600; }
.testimonial-role { font-size: 0.78rem; color: var(--text-muted); }

.testimonials-empty { text-align: center; padding: 3rem; color: var(--text-muted); }

/* ─── Client Logos Ticker ──────────────────────────────────── */
.clients-section { overflow: hidden; }
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.3;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.ticker-logo:hover { opacity: 0.7; }
.ticker-name {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-subtle);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s;
  letter-spacing: -0.01em;
}
.ticker-name:hover { color: var(--text-muted); }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
}
.faq-question:hover { color: var(--text-muted); }
.faq-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid var(--border-md);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s var(--ease);
  color: var(--text-muted);
}
.faq-item.open .faq-icon {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 720px;
}
.faq-item.open .faq-answer { display: block; }

/* ─── CTA Section ──────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.cta-label { margin-bottom: 1.5rem; }
.cta-headline { margin-bottom: 1.5rem; }
.cta-sub { color: var(--text-muted); margin-bottom: 2.5rem; max-width: 480px; margin-inline: auto; }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ─── Contact Form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
.form-input, .form-textarea {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--border-md); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-subtle); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-submit { align-self: flex-start; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; color: var(--text-subtle); margin-bottom: 0.25rem; }
.contact-info-value { font-size: 0.95rem; font-weight: 500; }

/* ─── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-logo { font-size: 1rem; font-weight: 800; letter-spacing: -0.02em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 0.8rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 0.78rem; color: var(--text-subtle); }

/* ─── GSAP Text Reveal ─────────────────────────────────────── */
/* Word-level split: JS wraps words in .word > .word-inner */
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.word-inner {
  display: inline-block;
  will-change: transform;
}

/* Elements hidden before GSAP initialises */
[data-reveal] { visibility: hidden; }
[data-reveal].is-ready { visibility: visible; }

/* Generic clip-from-bottom reveal for blocks */
[data-fade] {
  opacity: 0;
  transform: translateY(40px);
  will-change: opacity, transform;
}

/* Parallax image containers */
.parallax-wrap {
  overflow: hidden;
}
.parallax-inner {
  will-change: transform;
  transform-origin: center center;
}

/* ─── Custom Cursor ────────────────────────────────────────── */
@media (pointer: fine) {
  * { cursor: none !important; }

  .cursor-dot {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
    mix-blend-mode: difference;
  }

  .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    width: 40px; height: 40px;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: width 0.45s cubic-bezier(0.16,1,0.3,1),
                height 0.45s cubic-bezier(0.16,1,0.3,1),
                border-color 0.3s;
    mix-blend-mode: difference;
  }

  .cursor-ring.hovering {
    width: 64px; height: 64px;
    border-color: rgba(255,255,255,0.9);
  }

  .cursor-dot.hovering {
    width: 5px; height: 5px;
  }
}

/* ─── Smooth scroll (Lenis sets overflow on html) ─────────── */
html.lenis { height: auto; }
html.lenis body { height: auto; }

/* ─── Alerts ───────────────────────────────────────────────── */
.alert {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  border: 1px solid;
  margin-bottom: 1rem;
}
.alert-success { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.2); color: #4ade80; }
.alert-error   { background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.2); color: #f87171; }

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
  .contact-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-py: clamp(60px, 8vw, 100px); }

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

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.featured { grid-column: span 1; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
