/* ===== RESET & ROOT ===== */
:root {
  --bg: #0b0b0b;
  --bg-soft: #121212;
  --text: #f2f2f2;
  --muted: #b8b8b8;
  --line: rgba(255,255,255,0.12);
  --accent: #d6d0c7;
  --max: 1320px;
  --transition: 220ms ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11,11,11,0.7);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  flex-wrap: wrap;
}

.brand {
  letter-spacing: 0.25em;
  font-size: 0.85rem;
  text-transform: uppercase;
  order: 1;
}

.main-nav {
  display: flex;
  gap: 24px;
  order: 2;
}

.mobile-toggle {
  order: 3;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: none;
}

@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
    position: static;
    flex-direction: row;
    background: transparent;
    padding: 0;
    gap: 24px;
    width: auto;
  }
  .mobile-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 20px;
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    width: 100%;
    order: 3;
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 8px 0;
    font-size: 1rem;
  }
}

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--text);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,11,11,0.7) 10%,
    rgba(11,11,11,0.2) 50%,
    rgba(11,11,11,0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}

/* ===== SECTIONS ===== */
section {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-title {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-copy {
  color: var(--muted);
  max-width: 600px;
}

/* ===== PROJECTS GRID ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.project-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.card-footer {
  margin-top: 16px;
  font-size: 0.8rem;
}

/* ===== STATEMENT ===== */
.statement-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.statement-layout img {
  width: 100%;
  height: auto;
}

.statement-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.statement-quote {
  font-size: 1.4rem;
  font-style: italic;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.meta-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.meta-title {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.meta-value {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.about-portrait img {
  width: 100%;
  height: auto;
}

/* ===== FEATURED WORK ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.feature-grid img {
  width: 100%;
  height: auto;
}

.price-line {
  font-size: 1rem;
  margin-top: 12px;
  color: var(--accent);
}

.small-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 16px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  color: var(--muted);
}

.mono {
  font-family: monospace;
  font-size: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  .statement-layout,
  .about-grid,
  .feature-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  section {
    padding: 60px 0;
  }
  .hero-media img {
    max-height: 70vh;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .statement-quote {
    font-size: 1.2rem;
  }
}