/* Shared Styles for Slant Website */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-600: #525252;
  --gray-800: #262626;
  --accent: #ef4830;
  --accent-light: #fef2f0;
  --edit-highlight: #fff3cd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Copy that was edited - remove this class before launch */
.edited {
  background: var(--edit-highlight);
  padding: 0 4px;
  border-radius: 2px;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

nav.scrolled {
  border-bottom-color: var(--gray-200);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--black);
  text-decoration: none;
}

.logo img, .logo svg {
  height: 36px;
  width: 36px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Project Page Styles */
.project-hero {
  padding: 10rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 3rem;
  transition: color 0.2s ease;
}

.project-back:hover {
  color: var(--accent);
}

.project-back svg {
  width: 16px;
  height: 16px;
}

.project-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.project-tagline {
  font-size: 1.35rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-meta span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--gray-400);
}

/* Project Content */
.project-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.project-image {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
}

.project-image.full {
  margin-left: -2rem;
  margin-right: -2rem;
  border-radius: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  margin: 4rem 0;
  padding: 4rem 0;
  border-top: 1px solid var(--gray-200);
}

.project-sidebar h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.project-sidebar ul {
  list-style: none;
  margin-bottom: 2rem;
}

.project-sidebar li {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.project-body h3 {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.project-body p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.project-body a {
  color: var(--accent);
  text-decoration: none;
}

.project-body a:hover {
  text-decoration: underline;
}

/* Quote */
.project-quote {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: 8px;
  margin: 4rem 0;
}

.project-quote blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.project-quote cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.project-quote cite strong {
  display: block;
  color: var(--black);
  font-weight: 500;
}

/* Project Navigation */
.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 3rem 2rem;
  border-top: 1px solid var(--gray-200);
  max-width: 1200px;
  margin: 0 auto;
}

.project-nav a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.project-nav a:hover {
  color: var(--accent);
}

/* Footer */
footer {
  padding: 2rem;
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

footer p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

footer > a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer > a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 968px) {
  .project-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  nav {
    padding: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }

  .project-hero {
    padding: 7rem 1.5rem 3rem;
  }

  .project-content {
    padding: 0 1.5rem 4rem;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
