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

:root {
  --black: #0A0A0A;
  --near-black: #111111;
  --dark-gray: #1E1E1E;
  --medium-gray: #3A3A3A;
  --light-gray: #8A8A8A;
  --white: #FFFFFF;
  --accent: #E0E0E0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

.demo-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  padding: 8px 24px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
  white-space: nowrap;
}

.demo-banner span {
  color: #c8f000;
}

.nav {
  position: fixed;
  top: 33px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.nav-logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  font-weight: 300;
  color: var(--light-gray);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}

.nav-cta:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.03);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: var(--dark-gray);
}

.hero-block {
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.hero-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.hero-block--large {
  grid-row: 1 / 3;
}

.hero-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  position: relative;
  z-index: 1;
}

.hero-year {
  font-size: 48px;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  position: absolute;
  bottom: 24px;
  right: 24px;
  letter-spacing: -2px;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  padding: 120px 60px 100px;
}

.hero-content {
  max-width: 800px;
}

.hero-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--light-gray);
  font-weight: 300;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  max-width: 520px;
}

.section-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light-gray);
  margin-bottom: 12px;
  display: block;
}

.work {
  padding: 120px 60px;
  background: var(--black);
}

.work-header {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.work-header h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
}

.work-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--dark-gray);
}

.work-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  background: var(--near-black);
  transition: background 0.3s;
  cursor: pointer;
}

.work-item:hover {
  background: #1A1A1A;
}

.work-visual {
  aspect-ratio: 4/3;
}

.work-info {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.work-number {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--light-gray);
  margin-bottom: 8px;
}

.work-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
}

.work-info p {
  font-size: 14px;
  color: var(--light-gray);
  font-weight: 300;
}

.studio {
  padding: 160px 60px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.studio-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.studio-inner h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 24px;
}

.studio-inner p {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 32px;
}

.studio-location {
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--light-gray);
}

.footer {
  padding: 80px 60px;
  background: var(--near-black);
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}

.footer-content h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.footer-email {
  font-size: 16px;
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--white);
}

.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.15);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  .hero-block--large {
    grid-row: 1 / 3;
    grid-column: 1 / 3;
  }

  .work-item {
    grid-template-columns: 120px 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .hero-overlay {
    padding: 80px 24px 60px;
  }

  .work {
    padding: 80px 24px;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .work-visual {
    aspect-ratio: 16/9;
  }

  .studio {
    padding: 100px 24px;
  }

  .footer {
    padding: 60px 24px;
  }

  .footer-content h3 {
    font-size: 24px;
  }
}
