@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-color: #08080c;
  --bg-elevated: #101016;
  --bg-card: #14141c;
  --bg-card-hover: #1a1a24;
  --text-color: #f0f0f5;
  --text-muted: #8b8b9a;
  --text-dim: #5c5c6b;
  --accent: #ffffff;
  --accent-primary: #818cf8;
  --accent-primary-dim: #6366f1;
  --accent-blue: #818cf8;
  --accent-amber: #fbbf24;
  --accent-gradient: linear-gradient(135deg, #818cf8 0%, #a78bfa 45%, #fbbf24 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --font-display: 'Outfit', sans-serif;
  --font-main: 'DM Sans', sans-serif;
  --container-width: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;
  --shadow-glow: 0 0 80px rgba(129, 140, 248, 0.12);
  --transition: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-height: 88px;
}

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto;
  /* Handled by Lenis */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(251, 191, 36, 0.04), transparent 50%);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul,
li {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Utils --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.main-content {
  position: relative;
  z-index: 1;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem var(--gutter);
  z-index: 200;
  background: transparent;
  border: none;
  transition: padding 0.3s ease;
}

.navbar.scrolled {
  padding: 0.65rem var(--gutter);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  background: rgba(14, 14, 20, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  width: auto;
  max-width: 120px;
  max-height: 38px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  padding: 0.65rem 1.35rem;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #0a0a0f;
  background: var(--accent-gradient);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(129, 140, 248, 0.35);
  color: #0a0a0f;
}

.brand {
  display: flex;
  align-items: center;
}

.site-nav-spacer {
  height: var(--nav-height);
  pointer-events: none;
  flex-shrink: 0;
}


/* --- Hero Section --- */
.hero-section {
  position: relative;
  isolation: isolate;
  min-height: calc(100dvh - var(--nav-height));
  padding: clamp(1.25rem, 3vh, 2.5rem) var(--gutter) clamp(1.5rem, 3vh, 2.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-mesh__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: meshFloat 18s ease-in-out infinite;
}

.hero-mesh__orb--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45), transparent 70%);
}

.hero-mesh__orb--2 {
  width: min(40vw, 380px);
  height: min(40vw, 380px);
  bottom: 5%;
  left: -8%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3), transparent 70%);
  animation-delay: -6s;
}

.hero-mesh__orb--3 {
  width: min(28vw, 260px);
  height: min(28vw, 260px);
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18), transparent 70%);
  animation-delay: -12s;
}

@keyframes meshFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, -3%) scale(1.04); }
  66% { transform: translate(-2%, 2%) scale(0.97); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.35;
}

.hero-stack {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
  margin: 0;
  z-index: 5;
  position: relative;
}

.hero-brand__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.2em;
}

.hero-brand__word:last-child {
  margin-right: 0;
}

.hero-brand__word > span {
  display: inline-block;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  z-index: 5;
  position: relative;
}

.hero-headline__word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  margin-right: 0.25em;
}

.hero-headline__word:last-child {
  margin-right: 0;
}

.hero-headline__word > span {
  display: inline-block;
}

.hero-faded-wrap {
  position: relative;
  width: 100%;
  margin-top: -0.15rem;
  margin-bottom: -4.5rem;
  display: flex;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-faded {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 12rem);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.07);
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

.hero-faded .letter {
  display: inline-block;
  transform-origin: bottom;
}

/* In-flow card stage — reserves height so CTA never collides */
.hero-cards {
  position: relative;
  width: 100%;
  height: clamp(280px, 36vh, 340px);
  margin-top: 0.5rem;
  z-index: 3;
  pointer-events: none;
  perspective: 900px;
}

.hero-cards > * {
  pointer-events: auto;
}

.hero-card {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(99, 102, 241, 0.55), rgba(251, 191, 36, 0.25));
  box-shadow:
    0 28px 48px -16px rgba(0, 0, 0, 0.65),
    0 12px 24px -8px rgba(99, 102, 241, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  cursor: pointer;
  will-change: transform;
  transition: box-shadow 0.45s var(--transition);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.18) 0%,
    transparent 32%,
    transparent 70%,
    rgba(0, 0, 0, 0.35) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card:hover {
  box-shadow:
    0 40px 64px -18px rgba(0, 0, 0, 0.75),
    0 16px 32px -8px rgba(129, 140, 248, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.hero-card--1 { width: 120px; height: 168px; left: 3%;  top: 48px; z-index: 1; }
.hero-card--2 { width: 148px; height: 204px; left: 12%; top: 58px; z-index: 2; }
.hero-card--3 { width: 186px; height: 252px; left: 23%; top: 28px; z-index: 4; }
.hero-card--4 { width: 140px; height: 188px; left: 36%; top: 72px; z-index: 3; }
.hero-card--5 { width: 214px; height: 288px; left: 45%; top: 8px;  z-index: 5; }
.hero-card--6 { width: 148px; height: 200px; left: 60%; top: 58px; z-index: 3; }
.hero-card--7 { width: 162px; height: 222px; left: 71%; top: 36px; z-index: 4; }
.hero-card--8 { width: 120px; height: 164px; left: 85%; top: 56px; z-index: 2; }

.hero-subline {
  margin-top: 1.75rem;
  text-align: center;
  z-index: 5;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}

.hero-subline__cta {
  position: relative;
  z-index: 6;
}

.hero-subline__text {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
  max-width: 28rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .hero-cards {
    height: 260px;
  }

  .hero-faded-wrap {
    margin-bottom: -3rem;
  }

  .hero-card--1 { width: 96px; height: 132px; left: 2%;  top: 40px; }
  .hero-card--2 { width: 114px; height: 156px; left: 11%; top: 50px; }
  .hero-card--3 { width: 142px; height: 194px; left: 22%; top: 24px; }
  .hero-card--4 { width: 110px; height: 148px; left: 35%; top: 58px; }
  .hero-card--5 { width: 168px; height: 226px; left: 45%; top: 6px; }
  .hero-card--6 { width: 114px; height: 156px; left: 60%; top: 48px; }
  .hero-card--7 { width: 124px; height: 170px; left: 72%; top: 28px; }
  .hero-card--8 { width: 96px; height: 130px; left: 86%; top: 46px; }

  .hero-subline {
    margin-top: 1.5rem;
  }
}

@media (max-width: 750px) {
  .hero-faded {
    font-size: 20vw;
  }

  .hero-faded-wrap {
    margin-bottom: -2rem;
  }

  .hero-cards {
    height: 200px;
  }

  .hero-card--1 { width: 68px; height: 96px;  left: 1%;  top: 28px; }
  .hero-card--2 { width: 80px; height: 112px; left: 11%; top: 40px; }
  .hero-card--3 { width: 96px; height: 132px; left: 23%; top: 18px; }
  .hero-card--4 { width: 78px; height: 108px; left: 36%; top: 48px; }
  .hero-card--5 { width: 112px; height: 154px; left: 46%; top: 6px; }
  .hero-card--6 { width: 84px; height: 116px; left: 62%; top: 40px; }
  .hero-card--7 { width: 88px; height: 122px; left: 74%; top: 22px; }
  .hero-card--8 { width: 68px; height: 96px;  left: 87%; top: 38px; }

  .hero-subline {
    margin-top: 1.25rem;
  }
}

/* --- Work Teaser (Homepage) --- */
.work-teaser {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.work-teaser__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-glow);
}

.work-teaser__desc {
  margin-top: 1rem;
  max-width: 480px;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.work-teaser__cta {
  flex-shrink: 0;
}

/* --- Work Page --- */
.work-page .work-section-horizontal {
  height: calc(100dvh - var(--nav-height));
}

.work-page .main-content {
  padding: 0;
}

.highlight-text {
  color: #fff;
  font-weight: 800;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #fff 0%, #888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #0a0a0f;
  background: var(--accent-gradient);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(129, 140, 248, 0.35);
}

.btn-text {
  color: var(--text-color);
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.btn-text:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
}

/* .hero-visual removed for canvas */

/* --- Work Section (Horizontal) --- */
.work-section-horizontal {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #050505;
}

.work-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 10;
}

.work-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-blue), #06b6d4);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.horizontal-scroll-wrapper {
  display: flex;
  flex-wrap: nowrap;
  height: 100%;
  width: max-content;
}

.work-panel {
  width: 100vw;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: calc(var(--nav-height) + 2rem) 6vw 4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

.work-panel--project:nth-child(even) {
  background: radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.04), transparent 55%);
}

.intro-panel {
  background:
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08), transparent 45%),
    #050505;
  z-index: 2;
}

.panel-content {
  max-width: 520px;
}

.work-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.work-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent-primary);
}

.section-title-large {
  font-size: clamp(3.5rem, 9vw, 10rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.accent-dot {
  color: var(--accent-blue);
}

.work-intro-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.work-intro-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.work-count {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.scroll-hint__line {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.scroll-hint__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-blue);
  animation: scrollHintPulse 2s ease-in-out infinite;
}

@keyframes scrollHintPulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Project cards */
.project-card-large {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  max-width: 820px;
  text-decoration: none;
  color: inherit;
}

.project-index {
  position: absolute;
  top: -1.5rem;
  right: 0;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

.project-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.project-card-large:hover .project-media {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.project-image-large {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 58vh;
  overflow: hidden;
  position: relative;
}

.project-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-image-large--trio {
  display: flex;
  gap: 3px;
}

.project-image-large--trio img {
  flex: 1;
  width: 33.333%;
  min-width: 0;
}

.project-media__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 5, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card-large:hover .project-media__overlay {
  opacity: 1;
}

.project-card-large:hover .project-image-large img {
  transform: scale(1.06);
}

.project-cta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.project-info-large {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.project-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #93c5fd;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.25);
  background: rgba(59, 130, 246, 0.08);
}

.project-type {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.project-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
  margin: 0;
  transition: transform 0.4s ease;
}

.project-location {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card-large:hover .project-title {
  transform: translateX(6px);
}


/* --- Shared Section Typography --- */
.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -0.03em;
  flex: 1 1 auto;
}

.section-number {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* --- SEO & FAQ Sections --- */
.seo-expansion-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.seo-content-grid {
  display: grid;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-top: 3rem;
}

.seo-content-grid p {
  font-size: 1.1rem;
}

.seo-content-grid strong {
  color: #fff;
}

.faq-section {
  padding: 7rem 0;
  border-top: 1px solid var(--border);
}

.faq-section .section-header {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
  line-height: 1.35;
  font-weight: 600;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.faq-section .section-desc {
  margin-top: 1rem;
  max-width: 480px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Expertise Section --- */
.expertise-section {
  padding: 7rem 0;
  background: transparent;
}

.expertise-layout {
  display: block;
}

.expertise-header {
  position: relative;
  margin-bottom: 3rem;
  max-width: 36rem;
}

.expertise-header .section-number {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-primary);
}

.expertise-header .section-desc {
  margin-top: 1rem;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.expertise-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.expertise-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: var(--bg-card);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.expertise-item:last-child {
  border-bottom: 1px solid var(--border);
}

.expertise-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  padding-left: 2rem;
}

.item-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.expertise-item h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.65rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.expertise-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.expertise-item--flagship {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.08), rgba(129, 140, 248, 0.06)), var(--bg-card);
  border-color: rgba(251, 191, 36, 0.2);
}

.expertise-item--flagship:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(129, 140, 248, 0.1)), var(--bg-card-hover);
  border-color: rgba(251, 191, 36, 0.35);
}

.expertise-item--flagship .item-num {
  color: var(--accent-amber);
}

.expertise-philosophy {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding: 2rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  font-size: 1rem;
  color: var(--text-muted);
  font-style: normal;
  max-width: 100%;
}

.expertise-flagship-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.badge-coming-soon {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.expertise-philosophy strong {
  color: #fff;
  font-weight: 600;
}


/* --- Agency / Vision --- */
.agency-section {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.agency-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-muted);
  margin-bottom: 4rem;
  letter-spacing: -0.02em;
}

.white-text {
  color: #fff;
  font-weight: 600;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 5rem;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}


/* --- Footer --- */
.footer {
  padding: 4rem 0 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer-cta-title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin-bottom: 2rem;
  font-weight: 700;
}

.big-mail-link {
  font-size: clamp(1.5rem, 4vw, 3rem);
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.big-mail-link:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.footer-bottom {
  margin-top: 6rem;
}

.footer-bottom .footer-col {
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.footer-col a svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-col a:hover svg {
  opacity: 1;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom-line {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Effects --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .projects-grid .project-card:nth-child(even) {
    transform: none;
  }

  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .expertise-list {
    grid-template-columns: 1fr;
  }

  .expertise-item--flagship {
    grid-column: auto;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: column;
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }

  /* Hide mid links on mobile for simplicity */
}

@media (max-width: 500px) {
  .footer-cta-title {
    font-size: 2.5rem;
  }
}

/* Scroll Indicator */
.hero-section .scroll-indicator {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: clamp(2rem, 6vh, 4rem);
  animation: simpleFadeIn 1s 2s backwards;
}

@keyframes simpleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 0.7;
    transform: translateY(0);
  }
}

.scroll-indicator span {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator .mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator .wheel {
  width: 2px;
  height: 6px;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }

  100% {
    top: 20px;
    opacity: 0;
  }
}

/* --- Contact Form Section --- */
.contact-section {
  padding: 7rem 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  position: relative;
}

.contact-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.contact-section .section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.contact-form {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.9rem 1rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border-color 0.25s ease, background 0.25s ease;
  border-radius: var(--radius-sm);
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  resize: vertical;
}

.form-group textarea {
  min-height: 140px;
  line-height: 1.5;
}

/* Phone input with searchable country dropdown */
.phone-group .iti {
  width: 100%;
  display: block;
}

.phone-group .iti__tel-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1.1rem;
  border-radius: 0;
}

.phone-group .iti__selected-country {
  background: transparent;
}

.phone-group .iti__selected-dial-code {
  color: #fff;
}

.phone-group .iti__arrow {
  border-top-color: rgba(255, 255, 255, 0.5);
}

.phone-group .iti__dropdown-content {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.phone-group .iti__search-input {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 0.65rem 0.75rem;
  margin: 0.5rem;
  width: calc(100% - 1rem);
}

.phone-group .iti__search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.phone-group .iti__country-list {
  background: #111;
  max-height: 240px;
}

.phone-group .iti__country {
  color: #e5e5e5;
}

.phone-group .iti__country-name,
.phone-group .iti__dial-code {
  color: #e5e5e5;
}

.phone-group .iti__country.iti__highlight {
  background: rgba(59, 130, 246, 0.2);
}

.phone-group .iti__country:hover {
  background: rgba(255, 255, 255, 0.06);
}

.phone-group .iti__tel-input:focus {
  outline: none;
  border-bottom-color: var(--accent-blue);
  box-shadow: 0 4px 10px -4px rgba(59, 130, 246, 0.2);
}

.iti--fullscreen-popup .iti__dropdown-content {
  background: #050505;
}

.iti--fullscreen-popup .iti__search-input {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.iti--fullscreen-popup .iti__country-list {
  background: #050505;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(129, 140, 248, 0.06);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.12);
}

.btn-submit {
  align-self: flex-start;
  margin-top: 0.5rem;
  color: #0a0a0f;
  background: var(--accent-gradient);
  border: none;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-2px);
}

.success-message {
  text-align: center;
  padding: 6rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  animation: fadeIn 0.8s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* --- New Form Styles --- */
.form-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section-title {
  font-size: 1.25rem;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.required {
  color: #ff4d4d;
  margin-left: 0.2rem;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  display: grid;
  place-content: center;
  margin: 0;
  transition: all 0.2s;
}

.checkbox-label input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--accent-blue);
  background-color: var(--accent-blue);
  transform-origin: center;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox-label input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.checkbox-label input[type="checkbox"]:checked {
  border-color: var(--accent-blue);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: "↓";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.9rem;
}

.form-group select option {
  background: #000;
  color: #fff;
  padding: 10px;
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  opacity: 0.7;
}



.success-message h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.success-message p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 400px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Design Projects Section --- */
.design-section {
  padding: 8rem 0;
  background: #050505;
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.design-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s ease;
}

.design-card:hover {
  transform: translateY(-5px);
}

.design-image {
  position: relative;
  width: 100%;
  background: #111;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.design-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.design-card:hover .design-image img {
  transform: scale(1.05);
}

.design-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}

.design-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.design-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.design-card:hover .design-overlay {
  opacity: 1;
}

.view-project {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* Responsive Design Grid */
@media (max-width: 900px) {
  .design-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .design-grid {
    grid-template-columns: 1fr;
  }
}

/* SEO Heading Replacements */
.heading-h3 { font-size: 3rem; margin-bottom: 0.5rem; font-weight: 700; display: block; }
.form-section-title { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); display: block; }
.footer-heading { font-size: 0.9rem; text-transform: uppercase; margin-bottom: 1rem; color: #fff; opacity: 0.5; display: block; font-weight: 600; }