@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;1,9..40,400&family=DM+Mono:wght@300;400;500&display=swap');

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

:root {
  --bg: #faf9f7;
  --bg-warm: #f3f1ec;
  --bg-card: #eeecea;
  --text: #1c1b18;
  --text-mid: #47453f;
  --text-light: #6e6b63;
  --text-xlight: #6e6b63;
  --gold: #a8905a;
  --gold-light: #c4a96e;
  --gold-dim: rgba(168,144,90,0.12);
  --rule: #e4e1da;
  --rule-light: #eeece8;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
  --max: 700px;
  --wide: 1080px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 60px;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  background: rgba(250,249,247,0.94);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
  letter-spacing: 0.01em;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 500; }

/* FOOTER */
.site-footer {
  margin-top: 8rem;
  background: var(--text);
  padding: 3.5rem 3rem;
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.footer-name {
  font-size: 18px;
  font-weight: 600;
  color: #faf9f7;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.footer-contact a {
  font-size: 13px;
  color: var(--gold-light);
  text-decoration: none;
  margin-right: 1.5rem;
}

.footer-contact a:hover { color: #faf9f7; }

.footer-right {
  text-align: right;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
  align-items: flex-end;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: #faf9f7; }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #3a3930;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #2a2920;
  max-width: var(--wide);
  margin-left: auto;
  margin-right: auto;
}

/* TYPOGRAPHY */
h1 {
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text);
}

h2 {
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

p { color: var(--text-mid); font-weight: 300; margin-bottom: 1.2rem; }
p strong { color: var(--text); font-weight: 500; }
p:last-child { margin-bottom: 0; }

a { color: var(--text); }

/* LAYOUT */
.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: var(--wide); margin: 0 auto; padding: 0 3rem; }

.mono-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.rule { border: none; border-top: 1px solid var(--rule); }

/* TAGS */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  background: var(--bg-warm);
  color: var(--text-light);
  border-radius: 2px;
  border: 1px solid var(--rule);
}

.tag.gold {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: rgba(168,144,90,0.25);
}

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* IMAGES */
.img-full { width: 100%; display: block; border-radius: 3px; }

.img-caption {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-xlight);
  margin-top: 0.65rem;
  text-align: center;
}

.img-placeholder {
  width: 100%;
  background: var(--bg-warm);
  border: 1px dashed var(--rule);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 3rem 1rem;
}

.img-placeholder .ph-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-xlight);
  text-align: center;
}

/* SPEC TABLE */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--rule-light); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.7rem 0; font-size: 13px; vertical-align: top; }
.spec-table td:first-child {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-xlight);
  width: 38%;
  padding-right: 1rem;
  padding-top: 0.85rem;
}
.spec-table td:last-child { color: var(--text); font-weight: 400; }

/* PROJECT NAV */
.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}

.project-nav a {
  font-size: 13px;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.15s;
  font-weight: 400;
}

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

/* BREADCRUMB */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-xlight);
  margin-bottom: 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb a { color: var(--text-xlight); text-decoration: none; }
.breadcrumb a:hover { color: var(--text-mid); }

/* PROJECT HERO */
.project-hero { padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--rule); }
.project-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.project-hero h1 { margin-bottom: 1.25rem; margin-top: 1rem; }
.project-hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 520px;
}

/* PROJECT CONTENT */
.project-content { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.project-section { padding: 3.5rem 0; border-bottom: 1px solid var(--rule); }
.project-section:last-child { border-bottom: none; }
.project-section p { font-size: 15px; }

.img-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.spec-panel {
  background: var(--bg-warm);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
}

blockquote {
  border-left: 2px solid var(--gold-light);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.65;
}

/* MOBILE */
@media (max-width: 680px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .container, .container-wide, .project-content { padding: 0 1.5rem; }
  .site-footer { padding: 2.5rem 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-right { text-align: left; }
  .footer-links { align-items: flex-start; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .img-grid-2 { grid-template-columns: 1fr; }
}
