/* ============================================
   AIPLEX ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â styles.css
   Inspired by the Neno Technology design system
   ============================================ */

/* ---- Custom Properties ---- */
:root {
  --bg: #000000;
  --bg-alt: #09090b;
  --surface: #18181b;
  --surface-soft: #27272a;
  --border-subtle: rgba(255,255,255,0.05);
  --border-mid: rgba(255,255,255,0.1);
  --border-strong: rgba(255,255,255,0.2);
  --text: #ffffff;
  --text-secondary: #d4d4d8;
  --text-muted: #a1a1aa;
  --text-faint: #71717a;
  --text-subtle: #52525b;
  --green: #22c55e;
  --amber: #f59e0b;
  --blue-glow: rgba(59,130,246,0.05);
  --zinc-glow: rgba(113,113,122,0.05);
  --font-arapey: 'Arapey', Georgia, serif;
  --font-urbanist: 'Urbanist', sans-serif;
  --font-inter: 'Inter', system-ui, sans-serif;
  --radius-pill: 9999px;
  --radius-card: 16px;
  --radius-form: 40px;
  --fill: #ffffff;
  --fill-text: #000000;
  --bar-line: rgba(255,255,255,0.5);
  --stat-label-color: rgba(255,255,255,0.6);
  --menu-bg: rgba(0,0,0,0.98);
  --menu-grid-line: rgba(255,255,255,0.1);
  --input-bg: rgba(24,24,27,0.4);
  --input-bg-focus: rgba(24,24,27,0.6);
  --active-bg: rgba(24,24,27,0.5);
  --option-bg: #18181b;
  --form-bg: linear-gradient(135deg, rgba(9,9,11,0.5), rgba(9,9,11,0.3));
  --success-bg: rgba(9,9,11,0.5);
  --success-icon-bg: rgba(255,255,255,0.1);
  --selection-bg: #ffffff;
  --selection-text: #000000;
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --surface: #e4e4e7;
  --surface-soft: #d4d4d8;
  --border-subtle: rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.12);
  --border-strong: rgba(0,0,0,0.22);
  --text: #000000;
  --text-secondary: #18181b;
  --text-muted: #3f3f46;
  --text-faint: #52525b;
  --text-subtle: #71717a;
  --blue-glow: rgba(59,130,246,0.08);
  --zinc-glow: rgba(113,113,122,0.08);
  --fill: #000000;
  --fill-text: #ffffff;
  --bar-line: rgba(0,0,0,0.5);
  --stat-label-color: rgba(0,0,0,0.6);
  --menu-bg: rgba(255,255,255,0.98);
  --menu-grid-line: rgba(0,0,0,0.08);
  --input-bg: rgba(0,0,0,0.05);
  --input-bg-focus: rgba(0,0,0,0.08);
  --active-bg: rgba(0,0,0,0.04);
  --option-bg: #ffffff;
  --form-bg: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6));
  --success-bg: rgba(255,255,255,0.8);
  --success-icon-bg: rgba(0,0,0,0.08);
  --selection-bg: #000000;
  --selection-text: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-inter);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--selection-bg); color: var(--selection-text); }

:focus-visible { outline: 2px solid white; outline-offset: 3px; border-radius: 4px; }

/* ---- Hidden Utility ---- */
[hidden] { display: none !important; }

/* ---- Skip Link ---- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: white;
  color: black;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.2s;
}

.skip-link:focus { top: 16px; }

/* ---- SVG Sprite ---- */
.svg-sprite { display: none; }

/* ---- Icon utility ---- */
.icon { width: 20px; height: 20px; display: block; }

/* ---- Layout ---- */
.section {
  padding: clamp(64px, 10vw, 128px) clamp(16px, 5vw, 96px);
}

.section-container {
  max-width: 1920px;
  margin: 0 auto;
}

.section-mission { background: var(--bg-alt); }
.section-projects { background: var(--bg); }
.section-services { background: var(--bg); }
.section-stats { background: var(--bg-alt); }
.section-methodology { background: var(--bg-alt); }
.section-pricing { background: var(--bg-alt); }
.section-faq { background: var(--bg); }

/* ---- Typography ---- */
.accent-serif {
  font-family: var(--font-arapey);
  font-style: italic;
  font-weight: 400;
}

.accent-sans {
  font-family: var(--font-urbanist);
  font-style: normal;
}

.accent-sans-dim {
  font-family: var(--font-urbanist);
  font-style: normal;
  color: var(--text-muted);
}

.section-title {
  font-size: clamp(2rem, 6vw, 5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-weight: 700;
  font-family: var(--font-urbanist);
}

.section-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 640px;
  margin-top: 20px;
}

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

/* ---- Section Eyebrow ---- */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-eyebrow-center { justify-content: center; }

.bar-icon {
  width: 40px;
  height: 24px;
  background: var(--surface-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.bar {
  width: 1px;
  height: 100%;
  background: var(--bar-line);
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-family: var(--font-inter);
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px clamp(16px, 5vw, 64px);
  transition: background 0.3s;
}

.site-header.is-scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(20px);
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1920px;
  margin: 0 auto;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.logo {
  font-family: var(--font-urbanist);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .logo:hover {
    color: transparent;
    background: linear-gradient(90deg, #e62e2d, #f97316, #f59e0b, #10b981, #06b6d4, #6366f1, #a855f7, #e62e2d);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoSheen 6s linear infinite;
  }
}

@keyframes logoSheen {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}

.nav-pill { display: none; }

@media (min-width: 1024px) {
  .nav-pill {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-mid);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
  }
}

.nav-pill a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-pill a:hover { color: var(--text); }

.nav-cta {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s;
}

.nav-pill .nav-cta:hover { background: var(--fill); color: var(--fill-text); }

.menu-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text);
  background: transparent;
}

@media (min-width: 1024px) { .menu-toggle { display: none; } }

.toggle-icon { display: flex; align-items: center; justify-content: center; }

.toggle-close { display: none; }

.menu-toggle[aria-expanded="true"] .toggle-open { display: none; }
.menu-toggle[aria-expanded="true"] .toggle-close { display: flex; }

.theme-toggle {
  display: flex;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-pill);
  cursor: pointer;
  color: var(--text);
  background: transparent;
  transition: all 0.2s;
}
.theme-toggle:hover { border-color: var(--border-strong); background: var(--surface); }
.theme-icon-sun { display: block; }
.theme-icon-moon { display: none; }
:root[data-theme="light"] .theme-icon-sun { display: none; }
:root[data-theme="light"] .theme-icon-moon { display: block; }

/* ---- Light theme navbar refinements ---- */
:root[data-theme="light"] .site-header.is-scrolled {
  background: linear-gradient(120deg, rgba(255,255,255,0.88), rgba(250,250,252,0.92), rgba(255,255,255,0.88));
  background-size: 200% 100%;
  animation: headerSheen 8s ease-in-out infinite;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.08);
}

@keyframes headerSheen {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

:root[data-theme="light"] .nav-pill {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,248,250,0.88));
  border-color: transparent;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  overflow: hidden;
}

:root[data-theme="light"] .nav-pill::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(230,46,45,0.55), rgba(16,185,129,0.55), rgba(245,158,11,0.55), rgba(59,130,246,0.55), rgba(230,46,45,0.55));
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: navBorderShift 6s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes navBorderShift {
  0% { background-position: 0% 0; }
  100% { background-position: 300% 0; }
}

:root[data-theme="light"] .nav-pill a {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

:root[data-theme="light"] .nav-pill a:hover {
  color: #e62e2d;
  transform: translateY(-1px);
}

:root[data-theme="light"] .nav-pill .nav-cta {
  position: relative;
  z-index: 1;
}

:root[data-theme="light"] .nav-cta {
  position: relative;
  z-index: 0;
  overflow: hidden;
  color: var(--text);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

:root[data-theme="light"] .nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, #e62e2d, #f97316, #f59e0b, #10b981, #06b6d4, #6366f1, #a855f7, #e62e2d);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: navBorderShift 6s linear infinite;
  pointer-events: none;
}

:root[data-theme="light"] .nav-cta:hover {
  background: rgba(230, 46, 45, 0.06);
  color: var(--text);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(230, 46, 45, 0.12);
}

:root[data-theme="light"] .hero-badge {
  z-index: 0;
  position: relative;
  border-color: transparent;
  overflow: hidden;
}
:root[data-theme="light"] .hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, #e62e2d, #f97316, #f59e0b, #10b981, #06b6d4, #6366f1, #a855f7, #e62e2d);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: navBorderShift 6s linear infinite;
  pointer-events: none;
}

:root[data-theme="light"] .menu-toggle, :root[data-theme="light"] .theme-toggle {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.1);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

:root[data-theme="light"] .menu-toggle:hover, :root[data-theme="light"] .theme-toggle:hover {
  border-color: rgba(230,46,45,0.4);
  background: linear-gradient(120deg, rgba(255,255,255,0.9), rgba(250,250,252,0.85));
  box-shadow: 0 4px 16px rgba(230,46,45,0.12);
}

:root[data-theme="light"] .site-header::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e62e2d, #10b981, #f59e0b, #3b82f6, transparent);
  background-size: 200% 100%;
  animation: accentLineMove 5s linear infinite;
  opacity: 0.8;
  pointer-events: none;
}

@keyframes accentLineMove {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Light mode: keep text that overlaps the hero sphere visible (white on the black ball) */
:root[data-theme="light"] .sphere-txt {
  color: #ffffff;
}

/* ---- Fullscreen Menu ---- */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--menu-bg);
  backdrop-filter: blur(24px);
  padding: clamp(48px, 10vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fullscreen-menu[hidden] { display: none; }
.fullscreen-menu[hidden].is-open { display: flex !important; }

.fullscreen-menu.is-open {
  display: flex;
  animation: menuFadeIn 0.4s ease both;
}

.fullscreen-menu .menu-link {
  display: block;
  font-family: var(--font-urbanist);
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-30px);
  transition: color 0.2s, opacity 0.4s ease, transform 0.4s ease;
}

.fullscreen-menu .menu-link.visible {
  opacity: 1;
  transform: translateX(0);
}

.fullscreen-menu .menu-link:hover { color: var(--text-muted); }

.menu-bottom {
  border-top: 1px solid var(--border-mid);
  padding-top: 32px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-muted);
}

.menu-bottom-label { color: var(--text-muted); }

.menu-product-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.menu-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
}

.menu-bottom a:hover { color: var(--text); }

.menu-soon { color: var(--text-subtle); font-size: 14px; }

@keyframes menuFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 10vw, 128px) clamp(16px, 5vw, 96px);
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--blue-glow);
  border-radius: 50%;
  filter: blur(120px);
  top: 10%;
  right: 0;
  pointer-events: none;
}

.hero-sphere {
  position: absolute;
  width: clamp(220px, 30vw, 420px);
  height: clamp(220px, 30vw, 420px);
  border-radius: 50%;
  right: 5%;
  bottom: 10%;
  background:
    radial-gradient(circle at 28% 22%, rgba(200,200,225,0.35) 0%, transparent 42%),
    radial-gradient(circle at 72% 18%, rgba(160,160,180,0.12) 0%, transparent 28%),
    radial-gradient(circle at 50% 92%, rgba(120,120,140,0.18) 0%, transparent 22%),
    radial-gradient(circle at 62% 62%, rgba(0,0,0,0.75) 0%, transparent 52%),
    radial-gradient(circle at 44% 40%, #38383f 0%, #1e1e24 38%, #0e0e12 68%, #060608 100%);
  box-shadow:
    inset -12px -12px 35px rgba(0,0,0,0.6),
    inset 6px 6px 18px rgba(255,255,255,0.04),
    0 0 100px rgba(100,100,130,0.12);
  animation: sphereFloat 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sphereFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@media (max-width: 640px) {
  .hero-sphere { display: none; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  min-width: 0;
}

.hero-badge {
  color: var(--text);
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-family: var(--font-urbanist);
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .accent-serif { display: block; }
.hero-title .accent-sans { display: block; }

.hero-lead {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
  max-width: 700px;
  margin: 28px auto 0;
  overflow-wrap: break-word;
}

.hero-contact {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}


/* ---- Pill CTA ---- */
.pill-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 40px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.pill-fill {
  position: absolute;
  inset: 0;
  background: var(--fill);
  transform: translateY(101%);
  transition: transform 0.5s ease;
}

.pill-cta:hover .pill-fill { transform: translateY(0); }

.pill-label {
  position: relative;
  z-index: 2;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.pill-cta:hover .pill-label { color: var(--fill-text); }

.pill-chevron {
  position: relative;
  z-index: 2;
  color: var(--text);
  transition: color 0.3s;
}

.pill-cta:hover .pill-chevron { color: var(--fill-text); }

/* ---- Mission ---- */
.mission-title { margin-bottom: 24px; }

.mission-text {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 900px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

/* ---- Stats ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

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

.stat-card {
  position: relative;
  aspect-ratio: 1;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-subtle);
  padding: clamp(16px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.3s;
}

.stat-hover-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.stat-hover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.stat-card:hover .stat-hover-img { opacity: 0.4; }

.stat-top, .stat-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.stat-num {
  color: var(--text-faint);
  font-weight: 700;
  font-size: clamp(0.75rem, 1.5vw, 1rem);
}

.stat-label {
  color: var(--stat-label-color);
  font-size: clamp(10px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stat-value {
  font-family: var(--font-urbanist);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.stat-arrow {
  color: var(--text-subtle);
  transition: all 0.3s;
  width: clamp(16px, 3vw, 32px);
  height: clamp(16px, 3vw, 32px);
}

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

/* ---- Services Accordion ---- */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-mid);
  margin-top: 48px;
}

.service-row {
  border-bottom: 1px solid var(--border-mid);
  padding: clamp(24px, 4vw, 48px) 0;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  cursor: pointer;
  position: relative;
}

.service-row.is-active {
  background: var(--active-bg);
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
  border-radius: 12px;
}

@media (min-width: 1024px) { .service-row.is-active { transform: scale(1.02); } }

.service-row:not(.is-active) { opacity: 0.6; }

@media (min-width: 1024px) { .service-row:not(.is-active) { opacity: 0.4; } }

.service-row:not(.is-active):hover { opacity: 1; }

.service-row:not(.is-active):hover {
  background: var(--active-bg);
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
  border-radius: 12px;
}
.service-row:not(.is-active):hover .service-arrow {
  border-color: var(--border-strong);
  transform: translateX(4px);
}
.service-row:not(.is-active) .service-title { transition: color 0.3s; }
.service-row:not(.is-active):hover .service-title { color: var(--text); }
.service-row:not(.is-active):hover .service-icon {
  background: var(--fill);
  color: var(--fill-text);
}

.service-trigger {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

@media (min-width: 1024px) {
  .service-trigger {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.service-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-soft);
  flex-shrink: 0;
  color: var(--text);
  transition: all 0.3s;
}

.service-title {
  font-family: var(--font-urbanist);
  font-size: clamp(1.25rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 200px;
}

.service-feature {
  color: var(--text-faint);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), background 0.3s, color 0.3s;
  color: var(--text);
}

.service-row.is-active .service-arrow {
  transform: rotate(180deg);
  background: var(--fill);
  color: var(--fill-text);
}

.service-row:hover .service-arrow {
  border-color: var(--border-strong);
}

.service-desc {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1), opacity 0.5s cubic-bezier(0.16,1,0.3,1), transform 0.5s cubic-bezier(0.16,1,0.3,1);
  width: 100%;
}
.service-row.is-active .service-desc {
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
}
.service-desc-inner {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid var(--border-mid);
  border-radius: 16px;
  background: var(--surface);
  max-width: 720px;
}
.service-desc-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}
.service-desc-text {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---- Projects / Cards ---- */
.projects-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 10vh;
}

.project-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-card {
  width: 100%;
  max-width: 900px;
  border-radius: 50px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--border-subtle);
  background: var(--bg-alt);
  overflow: hidden;
}

.project-image {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16 / 9;
}

/* ---- Projects: sticky card stack ---- */
/* Only the direct flex children of #projects-stack stick: the
   .project-card-link wrapper for cards 0-1, and the bare .project-card
   (InfoTray) which IS the flex child. JS sets top/z-index inline. */
#projects-stack .project-card-link {
  position: sticky;
  top: 80px;
  z-index: 1;
  width: 100%;
  height: 80vh;
  margin-bottom: 15vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* Cards fill their sticky wrapper, laid out image + grid in a column. */
#projects-stack .project-card {
  width: 100%;
  max-width: 900px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* The InfoTray card has no wrapper (it is the flex child): give it the
   sticky target height directly and drop the trailing margin. */
#projects-stack > .project-card:last-child {
  height: 80vh;
  margin-bottom: 0;
}

/* Image grows to fill the leftover height above the project grid. */
#projects-stack .project-image {
  flex: 1 1 auto;
  min-height: 0;
  aspect-ratio: auto;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.5s;
}

.project-card:hover .project-image img { transform: scale(1.1); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  transition: background 0.7s;
}

.project-card:hover .project-overlay { background: rgba(0,0,0,0.1); }

.project-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.8fr 1.2fr;
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(16px, 3vw, 40px) 0 0;
}

.project-desc {
  margin-top: 20px;
  padding: 20px 24px;
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  background: var(--surface);
}
.project-desc-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}
.project-desc-text {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: break-word;
}

.project-cell-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.project-cell-value {
  font-size: clamp(0.875rem, 1.5vw, 1.25rem);
}

.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-live {
  background: var(--green);
  animation: pulse 2.4s ease-in-out infinite;
}

.status-soon { background: var(--amber); }

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { opacity: 0.75; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ---- Carousel (mobile projects) ---- */
.projects-carousel { display: none; }

@media (max-width: 768px) {
  .projects-carousel { display: block; }
  .projects-stack { display: none; }
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track .project-card {
  flex-shrink: 0;
  width: 85vw;
  scroll-snap-align: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--surface-soft);
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.is-active {
  width: 24px;
  background: var(--text);
}

/* ---- Methodology ---- */
.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

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

.method-card {
  padding: 32px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  background: var(--bg-alt);
  transition: all 0.3s;
}

.method-card:hover, .price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}
.method-card, .price-card { transition: transform 0.3s ease, border-color 0.3s ease; }

.method-num {
  font-family: monospace;
  font-size: 14px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}

.method-title {
  font-family: var(--font-urbanist);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 16px;
}

.method-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 12px;
  line-height: 1.6;
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

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

.price-card {
  padding: 40px;
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 100%;
}

.price-card .pill-cta {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
}

.price-title {
  font-family: var(--font-urbanist);
  font-size: 1.5rem;
  font-weight: 700;
}

.price-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border-mid);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  align-self: flex-start;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.price-feature::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-faint);
  flex-shrink: 0;
}

/* ---- FAQ ---- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 6vw, 64px);
}

@media (min-width: 1024px) {
  .faq-grid { flex-direction: row; }
  .faq-intro { width: 33.333%; }
  .faq-list { width: 66.666%; }
}

.faq-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-top: 20px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  text-align: left;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

.faq-q-text {
  font-family: var(--font-urbanist);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding-right: 32px;
  transition: color 0.2s;
}

.faq-question:hover .faq-q-text { color: var(--text-secondary); }

.faq-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  color: var(--text);
}

.faq-question:hover .faq-toggle { background: var(--fill); color: var(--fill-text); }

.faq-toggle.is-open {
  transform: rotate(45deg);
  background: var(--fill);
  color: var(--fill-text);
}

.faq-toggle .icon { width: 20px; height: 20px; }

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

.faq-answer.is-open {
  max-height: 500px;
  opacity: 1;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  padding-bottom: 32px;
  max-width: 640px;
}

/* ---- Contact ---- */
.section-contact { position: relative; overflow: hidden; }

.contact-glow { display: none; position: absolute; width: 500px; height: 500px; border-radius: 50%; pointer-events: none; }

@media (min-width: 768px) { .contact-glow { display: block; } }

.contact-glow-1 {
  top: 0;
  right: 0;
  background: var(--blue-glow);
  filter: blur(120px);
  transform: translate(-50%, -50%);
}

.contact-glow-2 {
  bottom: 0;
  left: 0;
  background: var(--zinc-glow);
  filter: blur(120px);
  transform: translate(50%, 50%);
}

.contact-grid {
  display: grid;
  gap: 48px;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; gap: 96px; } }

.contact-intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 440px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 24px;
  text-decoration: none;
  color: inherit;
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.2s;
  flex-shrink: 0;
}

.contact-card:hover .contact-icon {
  border-color: var(--border-strong);
  color: var(--text);
}

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

.contact-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.contact-value {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
}

.contact-form-wrap { justify-self: end; width: 100%; }

.contact-form {
  background: var(--form-bg);
  border-radius: var(--radius-form);
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 32px);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-grid {
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.form-input {
  width: 100%;
  padding: 16px 24px;
  background: var(--input-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--text);
  font-family: var(--font-inter);
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus {
  border-color: var(--border-strong);
  background: var(--input-bg-focus);
}
.form-input::placeholder { color: var(--text-subtle); }

select.form-input {
  color: var(--text);
  background-color: var(--input-bg);
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 14px;
  cursor: pointer;
}

select.form-input option {
  background: var(--option-bg);
  color: var(--text);
  font-family: var(--font-inter);
}

select.form-input option:hover {
  background: #27272a;
}

.phone-row {
  display: flex;
  gap: 8px;
}

.cc-dropdown {
  position: relative;
  flex-shrink: 0;
}
.cc-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--input-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--text);
  font-family: var(--font-inter);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 96px;
  justify-content: space-between;
}
.cc-dropdown-trigger:focus, .cc-dropdown-trigger.is-open {
  border-color: var(--border-strong);
  background: var(--input-bg-focus);
}
.cc-dropdown-trigger.is-open .cc-dropdown-chevron { transform: rotate(180deg); }
.cc-dropdown-chevron {
  width: 14px;
  height: 14px;
  color: var(--text-faint);
  transition: transform 0.3s;
}
.cc-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 50;
  width: 180px;
  max-height: 240px;
  overflow-y: auto;
  background: var(--option-bg);
  border: 1px solid var(--border-mid);
  border-radius: 12px;
  padding: 6px;
  margin: 0;
  list-style: none;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.cc-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.cc-dropdown-item:hover { background: var(--surface); color: var(--text); }
.cc-dropdown-item[aria-selected="true"] { background: var(--fill); color: var(--fill-text); }
.cc-dropdown-code { font-weight: 700; }
.cc-dropdown-name {
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 11px;
}

.custom-select { position: relative; width: 100%; }
.custom-select-trigger { width: 100%; min-width: 0; justify-content: space-between; }
.custom-select-menu { width: 100%; min-width: 0; }

.cc-dropdown-menu::-webkit-scrollbar { width: 6px; }
.cc-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.cc-dropdown-menu::-webkit-scrollbar-thumb { background: var(--surface-soft); border-radius: 9999px; }
.cc-dropdown-menu::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }
.cc-dropdown-menu { scrollbar-width: thin; scrollbar-color: var(--surface-soft) transparent; }

.timeline-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.timeline-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--input-bg);
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  transition: all 0.2s;
}

.timeline-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.timeline-option:hover { border-color: var(--border-strong); }

.timeline-option:has(input[type="radio"]:checked) {
  background: var(--fill);
  color: var(--fill-text);
  border-color: var(--fill);
}

.timeline-radio { display: none; }

.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--fill);
  color: var(--fill-text);
  height: 80px;
  border-radius: var(--radius-card);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.submit-btn:hover { transform: scale(1.01); }
.submit-btn:active { transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.7; cursor: default; }

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon { width: 20px; height: 20px; }

.btn-spinner { display: none; }

.form-error {
  color: #f87171;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: 12px;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
  background: var(--success-bg);
  border-radius: var(--radius-form);
  border: 1px solid var(--border-subtle);
}

.success-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--success-icon-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  color: var(--fill-text);
}

.success-check { width: 48px; height: 48px; }

.success-title {
  font-family: var(--font-arapey);
  font-style: italic;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.success-text {
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.6;
}

.success-return {
  margin-top: 48px;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  transition: all 0.2s;
}

.success-return:hover { border-color: var(--text); }

/* ---- Footer ---- */
.footer {
  padding: clamp(32px, 5vw, 64px) clamp(16px, 5vw, 96px);
  border-top: 1px solid var(--border-subtle);
}

.footer-logo {
  font-family: var(--font-urbanist);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (min-width: 768px) { .footer-links { display: flex; gap: 64px; } }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255,255,255,0.04);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  color: var(--text-subtle);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---- Mobile refinements ---- */
.section-title .accent-serif,
.section-title .accent-sans,
.section-title .accent-sans-dim { display: block; }

@media (max-width: 768px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
}

@media (max-width: 640px) {
  .header-container { gap: 10px; }
  .logo { font-size: clamp(0.9rem, 4.5vw, 1.25rem); white-space: nowrap; }
  .project-grid { grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .pill-cta { padding: 14px 28px; gap: 10px; }
  .pill-label { font-size: 12px; letter-spacing: 0.12em; }
  .pill-chevron { width: 18px; height: 18px; }
}

@media (max-width: 480px) {
  .pill-cta { padding: 12px 22px; }
  .price-card { padding: 28px 20px; }
  .price-card .pill-cta { width: 100%; justify-content: center; }
  .service-title { font-size: 1.1rem; min-width: 0; }
  .service-features { min-width: 0; }
  .service-desc-inner { padding: 16px; }
  .hero-title { font-size: clamp(2.1rem, 11vw, 3.5rem); }
  .hero-badge { padding: 6px 14px; font-size: 11px; letter-spacing: 0.12em; }
  .section-title { font-size: clamp(1.75rem, 8vw, 2.75rem); }
  .stat-card { padding: 12px; }
  .stat-value { font-size: 2rem; }
  .cc-dropdown-trigger { min-width: 72px; padding: 16px 12px; }
  .cc-dropdown-menu { max-width: calc(100vw - 48px); }
  .timeline-option { padding: 10px 8px; font-size: 13px; }
  .submit-btn { height: 64px; }
}

/* ---- Scroll Reveal ---- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] { opacity: 1; transform: none; }
  .hero-sphere { animation: none; }
}
