/* ─── Tokens ─── */
:root {
  --s0: #F5F2EE;
  --s1: #EAE4DB;
  --s2: #C8BFBA;
  --s3: #9E9087;
  --dark: #1C1B18;
  --text: #1C1B18;
  --muted: #7A6F66;
  --inv: #F5F2EE;
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--s0); color: var(--text); overflow-x: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

.rule {
  border: none;
  height: 1px;
  width: 36px;
  background: var(--muted);
  margin: 0;
  flex-shrink: 0;
}
.rule--light { background: rgba(245,242,238,.3); }

/* ─── Nav ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 64px;
  background: var(--s0);
  border-bottom: 1px solid rgba(28,27,24,.06);
}

.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-studio {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 5px;
  color: var(--text);
}
.nav-brumm {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
  color: var(--text);
}

/* ─── Hero ─── */
.hero {
  display: flex;
  height: 100svh;
  min-height: 600px;
  padding-top: 64px;
}

.hero-text {
  width: 500px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 0 72px;
  background: var(--s0);
}

.hero-mark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-studio {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--text);
}
.hero-brumm {
  font-family: var(--display);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 300;
  letter-spacing: 8px;
  line-height: 1;
  color: var(--text);
}

.hero-tagline {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--text);
}

.hero-image {
  flex: 1;
  overflow: hidden;
}
.hero-image img {
  transition: transform .8s ease;
}
.hero-image:hover img { transform: scale(1.02); }

/* ─── Category bar ─── */
.category-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  height: 80px;
  background: var(--s1);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--muted);
}
.category-bar .sep {
  display: block;
  width: 1px;
  height: 14px;
  background: var(--s2);
}

/* ─── Feature ─── */
.feature {
  display: flex;
  height: 560px;
}

.feature-image {
  width: 800px;
  flex-shrink: 0;
  overflow: hidden;
}
.feature-image img {
  transition: transform .8s ease;
}
.feature-image:hover img { transform: scale(1.02); }

.feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 0 72px;
  background: var(--dark);
}

.feature-text .arrow {
  font-family: var(--body);
  font-size: 20px;
  color: var(--inv);
  opacity: .4;
}

.feature-text h2 {
  font-family: var(--display);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--inv);
}

.feature-text p {
  font-family: var(--body);
  font-size: 13px;
  line-height: 1.75;
  color: var(--inv);
  opacity: .7;
}

/* ─── Piezas ─── */
.piezas {
  display: flex;
  height: 520px;
}

.piezas-text {
  width: 560px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 0 72px;
  background: var(--s1);
}

.section-label {
  font-family: var(--body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--muted);
}

.piezas-text h2 {
  font-family: var(--display);
  font-size: clamp(40px, 3.9vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
}

.piezas-text p {
  font-family: var(--body);
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}

.piezas-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.grid-top {
  flex: 1;
  overflow: hidden;
}
.grid-top img {
  transition: transform .8s ease;
}
.grid-top:hover img { transform: scale(1.02); }

.grid-bottom {
  display: flex;
  gap: 2px;
  height: 220px;
  flex-shrink: 0;
}

.grid-cell {
  flex: 1;
  overflow: hidden;
}
.grid-cell img {
  transition: transform .8s ease;
}
.grid-cell:hover img { transform: scale(1.03); }

/* ─── Contacto ─── */
.contacto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 96px;
  height: 240px;
  background: var(--dark);
}

.contacto-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contacto-left h2 {
  font-family: var(--display);
  font-size: clamp(32px, 2.9vw, 42px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--inv);
}
.contacto-left p {
  font-family: var(--body);
  font-size: 12px;
  color: var(--inv);
  opacity: .5;
}

.contacto-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.contacto-email {
  font-family: var(--body);
  font-size: 10px;
  letter-spacing: .5px;
  color: var(--inv);
  opacity: .4;
  transition: opacity .2s;
}
.contacto-email:hover { opacity: .8; }

/* ─── Footer ─── */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 72px;
  background: var(--s0);
  border-top: 1px solid rgba(28,27,24,.08);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.footer-studio {
  font-family: var(--display);
  font-size: 7px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--muted);
}
.footer-brumm {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-family: var(--body);
  font-size: 10px;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-family: var(--body);
  font-size: 9px;
  color: var(--muted);
  opacity: .5;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .feature { height: auto; flex-direction: column; }
  .feature-image { width: 100%; height: 420px; }
  .feature-text { padding: 56px 48px; gap: 18px; }

  .piezas { height: auto; flex-direction: column; }
  .piezas-text { width: 100%; padding: 56px 48px; }
  .piezas-grid { height: 480px; }
}

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

  .hero { flex-direction: column; height: auto; padding-top: 64px; }
  .hero-text { width: 100%; padding: 48px 32px; gap: 20px; }
  .hero-brumm { font-size: 64px; }
  .hero-image { height: 56vw; min-height: 280px; }

  .category-bar { gap: 20px; font-size: 9px; letter-spacing: 2px; flex-wrap: wrap; height: auto; padding: 20px 24px; }
  .category-bar .sep { display: none; }

  .feature-image { height: 280px; }
  .feature-text { padding: 40px 32px; }
  .feature-text h2 { font-size: 36px; }

  .piezas-text { padding: 40px 32px; }
  .piezas-text h2 { font-size: 40px; }
  .piezas-grid { height: 400px; }
  .grid-bottom { height: 160px; }

  .contacto { flex-direction: column; justify-content: center; gap: 32px; height: auto; padding: 56px 32px; text-align: center; }
  .contacto-right { align-items: center; }

  .footer { flex-wrap: wrap; gap: 12px; height: auto; padding: 20px 24px; justify-content: center; text-align: center; }
  .footer-links { gap: 20px; }
}
