/* ── Global Styles ── */
/* Nav, footer, and base styles shared across all pages */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

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

:root {
  --bg: #ffffff;
  --ink: #252525;
  --muted: #9a9890;
  --body: #4D4D4D;
  --line: #e8e8e8;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
  padding-top: 56px;
}
body.loaded { opacity: 1; }

/* ── Nav ── */
nav {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
  background: #ffffff;
  transition: background 0.3s, border-color 0.3s;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
  height: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: 'DIN Condensed', 'DINCondensed-Bold', impact, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #252525;
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #4D4D4D;
  text-decoration: none;
  font-weight: 400;
  transition: text-decoration 0.2s;
}
.nav-links a:hover {
  color: #252525;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Footer ── */
footer {
  width: 100%;
  background: #ffffff;
  border-top: 0.5px solid var(--line);
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 60px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-size: 15px;
  color: #4D4D4D;
  text-decoration: none;
  font-weight: 400;
}
.footer-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-copy {
  font-size: 15px;
  color: #A4A4A4;
  font-weight: 400;
}

/* ── Mobile ── */
@media (max-width: 900px) {
  .nav-inner { padding: 20px 24px; }
  .footer-inner { padding: 40px 24px; }
  body { font-size: 14px; }
}
