:root {
  --ink: #111;
  --paper: #fff;
  --muted: #6b6b6b;
  --border: #e7e5e2;
  --gap: clamp(1.25rem, 4vw, 3rem);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gap);
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
}

.logo-img {
  width: 44px;
  height: auto;
}

.menu-btn {
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 0;
}

.menu-btn span {
  display: block;
  height: 1px;
  background: var(--ink);
  width: 100%;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-btn.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Nav overlay */
.site-nav {
  position: fixed;
  inset: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  z-index: 90;
}

.site-nav.open { transform: translateY(0); }

.site-nav a {
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 400;
}

.site-nav a:hover { color: var(--muted); }

/* Home */
.home-hero {
  margin-top: 88px;
  height: calc(100vh - 88px);
  overflow: hidden;
}

.home-hero a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.gallery {
  padding-top: 96px;
}

.gallery-item {
  display: block;
  margin-bottom: var(--gap);
}

.gallery-caption {
  display: block;
  padding: 1rem var(--gap) 0;
  font-size: 1.1rem;
}

/* Piece page */
.piece {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px var(--gap) 4rem;
}

.piece h1 {
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0 0 1.5rem;
}

.piece .spec {
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.piece p {
  margin: 1.5rem 0;
}

.piece-gallery {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.next-link {
  display: block;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 1.25rem;
}

.next-label {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Process / About */
.process, .about {
  max-width: 700px;
  margin: 0 auto;
  padding: 130px var(--gap) 4rem;
}

.process h1 {
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 2.5rem;
}

.process h2 {
  font-weight: 400;
  font-size: 1.4rem;
  margin: 2.75rem 0 1rem;
}

.process ul {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.process li {
  margin-bottom: 0.6rem;
}

.about p {
  font-size: 1.15rem;
  margin: 0 0 1.5rem;
}

/* Contact */
.contact {
  max-width: 640px;
  margin: 0 auto;
  padding: 130px var(--gap) 4rem;
}

.contact > p {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.req {
  color: var(--muted);
  font-weight: 300;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 520px) {
  .form-grid { grid-template-columns: 1fr; }
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  background: #f7f6f4;
  resize: vertical;
}

.hidden-field { position: absolute; left: -9999px; }

.contact-form button {
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.contact-form button:hover { background: #333; }
