/* ─── WEKKA — Global Styles ─────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --cream: #F5F3EE;
  --black: #0A0A08;
  --orange: #F05A1A;
  --orange-dark: #C94510;
  --gray: #3C4043;
  --gray-mid: #7A7A72;
  --gray-light: #E0DEDB;
  --t: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --tf: 0.16s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: hidden; }

/* ── Lenis smooth scroll ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ── Navigation ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}
nav.scrolled {
  background: var(--cream);
  border-bottom-color: var(--black);
}
nav.scrolled.on-dark {
  background: rgba(10, 10, 8, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  display: inline-flex;
  align-items: center;
}
nav.on-dark .nav-logo { color: #fff; }
.logo-accent { color: var(--orange); }

/* Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  position: relative;
  transition: color var(--tf);
}
nav.on-dark .nav-links a { color: rgba(255,255,255,0.5); }
.nav-links a:hover { color: var(--black); }
nav.on-dark .nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--black); }
nav.on-dark .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--orange);
}
.nav-cta-link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  transition: color var(--tf);
  display: flex;
  align-items: center;
}
.nav-cta-link:hover { color: var(--orange-dark); }
nav.on-dark .nav-cta-link { color: var(--orange); }

/* Mobile nav */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none; border: none; padding: 4px;
}
.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--black); transition: all 0.22s; }
nav.on-dark .nav-burger span { background: #fff; }

.nav-mobile {
  display: none;
  position: fixed; inset: 0;
  background: var(--black); z-index: 99;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 36px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 900; letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff; text-decoration: none;
  transition: color var(--tf);
}
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile-close {
  position: absolute; top: 18px; right: 48px;
  background: none; border: none;
  color: #fff; font-size: 26px; cursor: pointer; line-height: 1;
}

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ── Section bases ── */
.section-light  { background: var(--cream); color: var(--black); }
.section-dark   { background: var(--black); color: #fff; }
.section-orange { background: var(--orange); color: var(--black); }

/* ── Typography ── */
.h-display {
  font-size: clamp(44px, 6.5vw, 96px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.94;
  text-transform: uppercase;
}
.h-xl {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.96;
  text-transform: uppercase;
}
.h-lg {
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  text-transform: uppercase;
}
.eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gray-mid);
}
.eyebrow.orange { color: var(--orange); }
.body-lead { font-size: 16px; line-height: 1.7; color: var(--gray-mid); }
.section-dark .body-lead { color: rgba(255,255,255,0.5); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: none;
  transition: background var(--tf), color var(--tf), border-color var(--tf), transform var(--tf);
}
.btn svg { width: 14px; height: 14px; flex-shrink: 0; transition: transform var(--tf); }
.btn:hover svg { transform: translateX(3px); }

.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: #222; }
.btn-white { background: #fff; color: var(--black); }
.btn-white:hover { background: #f0f0f0; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--black); border: 1.5px solid var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-outline-w { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-outline-w:hover { border-color: #fff; }

/* ── Dividers ── */
.hr { height: 1px; background: var(--black); border: none; }
.hr-light { height: 1px; background: var(--gray-light); border: none; }
.hr-dark { height: 1px; background: rgba(255,255,255,0.1); border: none; }

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94),
              transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.34s; }
.d5 { transition-delay: 0.44s; }

/* ── Project cards ── */
.proj-card { display: block; position: relative; overflow: hidden; cursor: pointer; background: #111; }
.proj-card img { width: 100%; display: block; object-fit: cover; transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s; filter: grayscale(15%); }
.proj-card:hover img { transform: scale(1.03); filter: grayscale(0%); }

/* ── Contact Form ── */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gray-mid);
}
.field input, .field select, .field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 400;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  padding: 10px 0 12px;
  outline: none; width: 100%;
  transition: border-color var(--tf);
}
.field input::placeholder, .field textarea::placeholder { color: #C0BEBA; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--orange); }
.field textarea { resize: none; min-height: 90px; }
.field select { appearance: none; cursor: pointer; }

/* ── Footer ── */
footer {
  background: var(--cream);
  border-top: 1px solid var(--black);
  padding: 48px 0 28px;
}
.footer-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 48px; margin-bottom: 40px;
}
.footer-logo {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase;
  text-decoration: none; color: var(--black); line-height: 1;
}
.footer-nav { display: flex; gap: 56px; }
.footer-nav-col h5 { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 14px; }
.footer-nav-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav-col ul a { font-size: 13px; font-weight: 500; color: var(--black); text-decoration: none; transition: color var(--tf); }
.footer-nav-col ul a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--gray-light); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 11px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-mid); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  nav { padding: 0 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  nav { padding: 0 20px; }
  .nav-inner { padding: 0; }
  .nav-links { display: none; }
  .nav-cta-link { display: none; }
  .nav-burger {
    display: flex;
    width: 44px; height: 44px;
    justify-content: center; align-items: center;
    padding: 0; margin-right: -10px;
  }
  .nav-mobile-close {
    right: 20px; top: 16px;
    font-size: 28px;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
  }

  /* Footer mobile */
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { flex-direction: column; gap: 20px; }
  .footer-logo { font-size: 38px; }
  .footer-nav-col ul { gap: 0; }
  .footer-nav-col ul a {
    font-size: 15px;
    min-height: 44px;
    display: flex; align-items: center;
  }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-top: 16px; }
  .footer-copy { font-size: 10px; }

  /* Buttons */
  .btn { min-height: 52px; padding: 15px 24px; }

  /* Typography */
  .body-lead { font-size: 15px; line-height: 1.65; }

  /* Prevent overflow */
  body { overflow-x: hidden; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  nav { padding: 0 16px; }
  .nav-inner { padding: 0; }
  .nav-mobile-close { right: 16px; }
  .footer-logo { font-size: 30px; }
  .footer-inner { gap: 24px; }
}

/* Touch device enhancements */
@media (hover: none) and (pointer: coarse) {
  a, button, [role="button"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}

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