/* ============================================================
   Pink Web Studio — Design System
   Font: Bebas Neue (Google Fonts)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --bg:    #FAFAF8;
  --ink:   #1a1917;
  --ink-2: rgba(26,25,23,.5);
  --ink-3: rgba(26,25,23,.26);
  --rule:  rgba(26,25,23,.1);
  --nav-h: 120px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-emoji: text;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0; z-index: 100;
  background: var(--bg);
  height: var(--nav-h);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  transition: box-shadow 300ms;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,.04); }

.nav-brand {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity 220ms;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-brand:hover { opacity: .45; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 220ms;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-end {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.nav-end a {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  transition: color 220ms;
}
.nav-end a:hover,
.nav-end a.active { color: var(--ink); }

/* Hamburger */
.nav-ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-ham span {
  display: block;
  width: 18px; height: 1px;
  background: var(--ink);
  transition: transform 300ms, opacity 300ms;
}
.nav-ham.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  flex-direction: column;
  z-index: 99;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 260ms ease, transform 260ms ease;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 20px 48px;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  transition: color 200ms;
}
.mobile-nav a:hover { color: var(--ink); }
.mobile-nav a:last-child { border-bottom: none; }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.1s cubic-bezier(.16,1,.3,1),
              transform 1.1s cubic-bezier(.16,1,.3,1);
}
.d1 { transition-delay: 120ms !important; }
.d2 { transition-delay: 240ms !important; }
.d3 { transition-delay: 400ms !important; }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--rule);
  background: rgba(250, 250, 248, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}
.footer-brand-wrap {
  text-align: left;
  padding: 0;
}
.footer-brand {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--ink);
  display: block;
  line-height: 1;
  white-space: nowrap;
}
.footer-brand-sub {
  display: block;
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 22px;
}
.footer-social-icons a {
  color: var(--ink-2);
  display: flex;
  align-items: center;
  transition: color 220ms;
}
.footer-social-icons a:hover { color: var(--ink); }
.footer-email {
  font-family: "Bebas Neue", "Impact", sans-serif;
  font-size: 29px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color 220ms;
}
.footer-email:hover { color: var(--ink); }

/* ── Scroll progress ── */
.scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 1px;
  width: 0%;
  background: var(--ink);
  opacity: .3;
  z-index: 200;
  transition: width 60ms linear;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  :root { --nav-h: 56px; }
  .nav { padding: 0 24px; background: rgba(255,255,255,0.95); }
  .nav-links { display: none; }
  .nav-end { display: none; }
  .nav-ham { display: flex; }
  .mobile-nav { display: flex; }
  .mobile-nav a { padding: 18px 24px; }
  .site-footer {
    height: auto;
    padding: 24px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 0;
    align-items: center;
  }
  .footer-brand-wrap { flex: 1 1 50%; }
  .footer-brand { font-size: 12px; letter-spacing: 4px; }
  .footer-brand-sub { font-size: 10px; letter-spacing: 2px; margin-top: 5px; }
  .footer-social {
    flex: 1 1 50%;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
  }
  .footer-email { font-size: 11px; letter-spacing: 1px; text-transform: none; }
}
