
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --bg: #0c0c0c;
  --surface: #151515;
  --text: #f5f2ed;
  --muted: #99958f;
  --accent: #c9a77a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.navbar {
  height: 85px;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff12;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  letter-spacing: 3px;
}

.logo span, .section-heading h2 span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: 35px;
}

nav a {
  color: var(--muted);
  font-size: 13px;
  transition: color .3s;
}

nav a:hover {
  color: var(--accent);
}

.nav-button {
  border: 1px solid #ffffff40;
  padding: 12px 20px;
  font-size: 12px;
  transition: .3s;
}

.nav-button:hover, .secondary:hover {
  background: white;
  color: black;
}

.hero {
  min-height: 85vh;
  padding: 130px 10% 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.eyebrow {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 25px;
}

.hero h1, .contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.12;
  font-weight: 500;
}

.hero h1 span, .contact h2 span {
  color: var(--accent);
}

.hero-text {
  max-width: 490px;
  color: var(--muted);
  line-height: 1.9;
  margin-top: 25px;
  font-size: 14px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 16px 24px;
  font-size: 12px;
  transition: .3s;
}

.primary {
  background: var(--accent);
  color: #111;
}

.primary:hover {
  background: #e2c39a;
  transform: translateY(-3px);
}

.secondary {
  border: 1px solid #ffffff40;
}

.scroll-note {
  position: absolute;
  bottom: 35px;
  left: 10%;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--muted);
}

.work {
  padding: 120px 10%;
  background: #111;
}

.section-heading {
  margin-bottom: 55px;
}

.section-heading h2, .about h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 500;
}

.project {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: center;
}

.project-image {
  background: #202020;
  overflow: hidden;
}

.project-image img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  transition: transform .6s;
}

.project-image:hover img {
  transform: scale(1.04);
}

.project-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  margin-bottom: 18px;
}

.project-info p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 28px;
}

.project-info a {
  color: var(--accent);
  font-size: 12px;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 8px;
}

.about {
  padding: 140px 15%;
  text-align: center;
}

.about h2 {
  max-width: 800px;
  margin: auto;
}

.about > p:last-child {
  max-width: 600px;
  margin: 25px auto 0;
  color: var(--muted);
  line-height: 2;
  font-size: 14px;
}

.contact {
  padding: 120px 10%;
  background: var(--surface);
  text-align: center;
}

.contact .eyebrow {
  margin-bottom: 25px;
}

.contact h2 {
  font-size: clamp(45px, 6vw, 75px);
  margin-bottom: 35px;
}

footer {
  padding: 35px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ffffff15;
}

footer p {
  font-size: 11px;
  color: var(--muted);
}

@media (max-width: 750px) {
  .navbar {
    padding: 0 5%;
    height: 75px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 11px;
  }

  .nav-button {
    display: none;
  }

  .hero {
    min-height: 80vh;
    padding: 100px 7%;
  }

  .hero h1 {
    font-size: clamp(45px, 12vw, 65px);
  }

  .scroll-note {
    left: 7%;
  }

  .work {
    padding: 85px 7%;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-image img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .about {
    padding: 100px 8%;
  }

  .contact {
    padding: 90px 7%;
  }

  footer {
    padding: 30px 7%;
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  nav {
    gap: 9px;
  }

  nav a {
    font-size: 10px;
  }

  .logo {
    font-size: 23px;
  }
}
