/* ───────────────────────────────────────────────
   Arizing Pixel — static styles
   Ported 1:1 from app/globals.css + layout.tsx fonts
─────────────────────────────────────────────── */

:root {
  --background: #ffffff;
  --foreground: #171717;
  --font-inter: "Inter", sans-serif;
  --font-sora: "Sora", sans-serif;
  --font-sans: var(--font-inter);
  --font-heading: var(--font-sora);
}

* { box-sizing: border-box; }

html { height: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-inter), sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sora), sans-serif;
}

/* Responsive heading — scales from 40px mobile → custom desktop size */
.heading-responsive {
  font-size: 40px;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .heading-responsive {
    font-size: 60px;
    line-height: 1.1;
  }
}
@media (min-width: 1024px) {
  .heading-responsive {
    font-size: var(--heading-fs, 140px);
    line-height: var(--heading-lh, 150px);
  }
}

/* CTA heading — scales from 36px mobile → 100px desktop */
.cta-heading {
  font-size: 36px;
  line-height: 1.15;
}
@media (min-width: 640px) {
  .cta-heading {
    font-size: 60px;
    line-height: 1.1;
  }
}
@media (min-width: 1024px) {
  .cta-heading {
    font-size: 100px;
    line-height: 108px;
  }
}

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

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ── Services responsive CSS (ported from RESPONSIVE_CSS in Services.tsx) ── */
.svc-face { border-radius: clamp(10px, 1.5vw, 20px); }
.svc-card { width: clamp(170px, 24vw, 380px); }
@media (max-width: 1023px) { .svc-card { width: clamp(140px, 21vw, 260px); } }
@media (max-width: 639px)  { .svc-card { width: 100%; } }

.svc-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  margin-top: 40px;
}
@media (max-width: 1023px) { .svc-row { gap: 10px; } }
@media (max-width: 639px) {
  .svc-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
    gap: 10px;
    margin-top: 20px;
  }
}

.svc-thread {
  position: absolute;
  top: clamp(100px, 14vw, 200px);
  left: 0;
  width: clamp(600px, 80vw, 1308px);
  height: auto;
  pointer-events: none;
  z-index: 0;
}
/* hide curve on phones */
@media (max-width: 639px) { .svc-thread { display: none; } }

/* section sizing */
.svc-section { height: 115svh; min-height: 100svh; }
@media (max-width: 1023px) { .svc-section { height: auto; min-height: 100svh; } }
@media (max-width: 639px)  { .svc-section { height: auto; min-height: auto; } }


/* ── Header/footer/nav/contact-popup styles now live in
   /header-footer.css (shared across every page) ── */
