/* ===== ZABÄN LLC — Monolith Ultra Design System ===== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0e0e0e;
  --surface: #131313;
  --surface-low: #1c1b1b;
  --surface-container: #201f1f;
  --surface-high: #2a2a2a;
  --surface-highest: #353534;
  --on-surface: #e5e2e1;
  --on-surface-variant: #a0a0a0;
  --primary: #ffffff;
  --outline: #919191;
  --outline-variant: #474747;
  --border-subtle: rgba(255,255,255,0.05);
  --border-hover: rgba(255,255,255,0.1);
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: #fff; color: #000; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(20,20,20,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  transition: color 0.3s;
}

.nav-links a:hover { color: #fff; }

.nav-cta {
  background: #fff;
  color: #000;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  margin: 5px 0;
  transition: all 0.3s;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem;
  position: relative;
  background: radial-gradient(circle at center, var(--surface-low) 0%, var(--bg) 100%);
}

.hero-label {
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  font-weight: 300;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.hero-scroll {
  margin-top: 4rem;
  color: rgba(255,255,255,0.2);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- Services --- */
.services {
  padding: 8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 3rem;
  height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border-subtle);
  transition: background 0.5s;
}

.service-card:hover { background: var(--surface-high); }

.service-card.span-7 { grid-column: span 7; background: var(--surface-low); }
.service-card.span-5 { grid-column: span 5; background: var(--bg); }

.service-label {
  font-size: 0.6875rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.service-card p {
  color: var(--on-surface-variant);
  line-height: 1.7;
  max-width: 320px;
}

.service-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.service-arrow {
  font-size: 2rem;
  transition: transform 0.3s;
}

.service-card:hover .service-arrow { transform: translateX(6px); }

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

/* --- Philosophy --- */
.philosophy {
  padding: 12rem 1.5rem;
  background: var(--bg);
  overflow: hidden;
}

.philosophy-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6rem;
}

.philosophy-heading {
  flex: 0 0 60%;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.philosophy-text {
  flex: 1;
  padding-top: 1rem;
  border-top: 1px solid var(--border-hover);
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  line-height: 1.9;
  font-weight: 300;
}

/* --- Contact --- */
.contact {
  padding: 12rem 1.5rem;
  text-align: center;
  background: var(--surface);
}

.contact h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}

.contact-email {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  border-bottom: 2px solid var(--border-hover);
  padding-bottom: 0.5rem;
  transition: border-color 0.3s;
  display: inline-block;
}

.contact-email:hover { border-color: #fff; }

.contact-locations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
}

.contact-loc {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.contact-loc .dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
}

/* --- Footer --- */
.footer {
  padding: 6rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--bg);
}

.footer-brand {
  font-size: 0.8125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-copy {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

.footer-disclaimer {
  width: 100%;
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.03);
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.2);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.span-7, .service-card.span-5 { grid-column: span 1; }
  .philosophy-inner { flex-direction: column; gap: 3rem; }
  .philosophy-heading { flex: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta.desktop { display: none; }
  .nav-toggle { display: block; }
  .nav { width: 95%; top: 1rem; padding: 0.875rem 1.25rem; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(24px);
    padding: 1.5rem;
    gap: 1.25rem;
    margin-top: 0.5rem;
    border-radius: 12px;
  }

  .hero { min-height: auto; padding: 10rem 1.5rem 6rem; }
  .hero h1 { font-size: 2.75rem; }
  .services { padding: 4rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card.span-7, .service-card.span-5 { grid-column: span 1; }
  .service-card { height: auto; min-height: 300px; }
  .philosophy { padding: 6rem 1.5rem; }
  .contact { padding: 6rem 1.5rem; }
  .footer { flex-direction: column; text-align: center; gap: 2rem; padding: 3rem 1.5rem; }
}
