/* The House (src/pages/house.jsx). Built on landing.css: this file only adds the sections
   the other pages don't have. Same palette and type; the hero and the promise go dark so the
   page opens and closes on the atelier rather than on cream. */

.aurea-house {
  --forest: #1f4a36;
  --ink-dark: #1d1c19;
  --on-dark: #f3eee4;
  --on-dark-soft: #cfc8b8;
}

/* ── 1. Hero: the atelier film styles (.house-hero) live in landing.css, since the home page
   now opens on it; this page opens on the home page's cream-silk film (.aurea-hero--film). ── */

/* ── 2. Philosophy: a short manifesto, set large ── */
.house-manifesto {
  max-width: 50rem;
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 8rem) 1.5rem;
  text-align: center;
}
.house-manifesto__text {
  margin: 0 auto 1.25rem;
  max-width: 38ch;
  color: var(--text);
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  font-weight: 300;
  line-height: 1.6;
}
.house-manifesto__text + .house-manifesto__text { color: var(--gold); }

/* ── 3. The name and the emblem ── */
.house-emblem {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  background: var(--bg-soft);
}
.house-emblem__mark { display: grid; place-items: center; }
.house-emblem__mark img {
  width: min(60vw, 260px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgb(125 95 36 / 0.22));
}
.house-emblem__body .aurea-rule { margin-left: 0; }
.house-emblem__body .aurea-story__title { margin-bottom: 1rem; font-size: calc(clamp(1.3rem, 2.6vw, 2rem) * var(--heading-scale)); }
.house-emblem__keys { display: grid; gap: 0.9rem; margin: 1.75rem 0 0; }
.house-emblem__keys > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.6rem; }
.house-emblem__keys dt {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.house-emblem__keys dd { margin: 0; color: var(--text-muted); font-size: 1rem; line-height: 1.6; }
.house-swatch { width: 0.8rem; height: 0.8rem; transform: rotate(45deg); flex: none; }
.house-swatch--gold { background: #b08d4a; }
.house-swatch--diamond { background: #fff; outline: 1px solid #c9c2b2; }
.house-swatch--green { background: var(--forest); }
@media (min-width: 800px) {
  .house-emblem { grid-template-columns: 2fr 3fr; padding-inline: max(5rem, calc((100% - 1100px) / 2)); }
}

/* ── 4. Savoir-faire: the home page's pinned story, stages without a kicker line ── */
.house-savoir .aurea-step__num { margin-bottom: 0.4rem; }

/* ── 5. Materials ── */
.house-materials { padding-bottom: clamp(4rem, 9vw, 7rem); border-bottom: 1px solid var(--hair); }
.house-materials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2.5rem, 5vw, 4rem);
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
}
.house-material__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.5rem; }
.house-material__title {
  font-family: "Aurea Capitalis", Georgia, serif;
  font-weight: 400;
  font-size: calc(clamp(1.4rem, 2.4vw, 1.8rem) * var(--heading-scale));
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.house-material .aurea-owner__focus { margin-top: 1rem; }

/* ── 6. The atelier and the craftsmen ── */
.house-atelier { padding-bottom: clamp(4rem, 9vw, 7rem); background: #fff; }
.house-atelier__body {
  max-width: 62ch;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem 0;
  text-align: center;
}
.house-makers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 820px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: 0 1.5rem;
  text-align: center;
}
.house-maker { display: grid; justify-items: center; }
.house-maker__portrait {
  width: 100%;
  max-width: min(300px, 62vw);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 1.75rem;
  outline: 1px solid var(--gold);
  outline-offset: 10px;
}
.house-maker__portrait--mono {
  display: grid;
  place-items: center;
  background: radial-gradient(120% 90% at 50% 20%, #2a2823 0%, var(--ink-dark) 70%);
}
.house-maker__portrait--mono span {
  font-family: "Aurea Capitalis", Georgia, serif;
  font-size: clamp(3rem, 8vw, 4.5rem);
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  color: var(--gold-soft);
}
.house-maker__name {
  font-family: "Aurea Capitalis", Georgia, serif;
  font-weight: 400;
  font-size: calc(clamp(1.25rem, 2.4vw, 1.7rem) * var(--heading-scale));
  letter-spacing: 0.06em;
  margin: 0;
}

/* ── 7. Collections: the home page's card grid, plus a line of mood per card ── */
.house-collections .aurea-card { min-height: 70vh; }
/* 8 tiles: even rows (2×4 desktop, 4×2 tablet) instead of auto-fit's ragged last row. */
@media (min-width: 601px) { .house-collections { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .house-collections { grid-template-columns: repeat(4, 1fr); } }
.house-card__mood {
  max-width: 28ch;
  margin: 0.7rem auto 0;
  color: #f3eee4e6;
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ── 8. Our promise ── */
.house-promise {
  padding: clamp(4.5rem, 11vw, 8rem) 1.5rem;
  text-align: center;
  background: var(--ink-dark);
  color: var(--on-dark);
}
.house-promise .aurea-rule { margin: 1rem auto 2rem; }
.house-promise__line {
  margin: 0 auto 0.9rem;
  max-width: 30ch;
  font-family: "Aurea Capitalis", Georgia, serif;
  font-size: clamp(1.15rem, 3vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.house-promise__line:last-child { margin-bottom: 0; color: var(--gold-soft); }
.house-promise.aurea-stagger.is-in > *:nth-child(5) { transition-delay: 0.5s; }
