/* ============================================================
   Brand detail sub-page styles.
   Layered on top of the main site stylesheet (../css/styles.css).
   ============================================================ */

.brand-detail-page { background: var(--bg); }

/* Push hero down below the sticky header */
.brand-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 4rem) 1.5rem 5rem;
  position: relative;
  overflow: hidden;
}

.brand-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 85%, rgba(0, 0, 0, 0.18) 0%, transparent 60%);
  pointer-events: none;
}

.brand-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.brand-hero-logo {
  background: #fbfaf6;
  border-radius: 14px;
  padding: 2.5rem 3rem;
  display: inline-block;
  margin-bottom: 2.5rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.brand-hero-logo img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  display: block;
}

.brand-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
  color: inherit;
  opacity: 0.92;
}

/* ---------- Story / concept section ---------- */
.brand-story {
  padding: 6rem 0;
  text-align: center;
}

.brand-story h2 {
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.brand-story p {
  font-size: 1.15rem;
  line-height: 1.65;
  font-weight: 300;
  color: var(--text-soft);
}

/* ---------- Visual identity (palette + type + voice) ---------- */
.brand-identity {
  background: var(--bg-paper);
  padding: 6rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.brand-identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: var(--max-narrow);
  margin: 0 auto;
}

.brand-identity-block h3 {
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.brand-identity-block .type-line {
  font-size: 1rem;
  line-height: 1.8;
  margin: 0;
  color: var(--text-soft);
}

.brand-identity-block .type-line strong {
  color: var(--text);
  font-weight: 600;
  margin-right: 0.25rem;
}

.brand-identity-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Palette swatches */
.palette-swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.swatch {
  aspect-ratio: 1 / 1.4;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.4rem;
  position: relative;
}

.swatch span {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.45);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  backdrop-filter: blur(2px);
}

/* ---------- Sister brands ---------- */
.brand-siblings {
  padding: 6rem 0;
  background: var(--bg);
}

.sister-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: var(--max-narrow);
  margin: 0 auto;
}

.sister-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(176, 141, 87, 0.1) 0%, transparent 55%),
    linear-gradient(160deg, #1f1c18 0%, #14110f 70%, #0c0a09 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #f5f1ea;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.sister-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176, 141, 87, 0.4);
  color: #f5f1ea;
}

.sister-logo-wrap {
  background: #fbfaf6;
  border-radius: 6px;
  padding: 0.75rem;
  width: 100%;
  aspect-ratio: 2 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sister-logo-wrap img {
  max-width: 85%;
  max-height: 70px;
  object-fit: contain;
}

.sister-name {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Brand CTA ---------- */
.brand-cta {
  padding: 6rem 0 7rem;
  background: var(--bg-paper);
  text-align: center;
  border-top: 1px solid var(--line);
}

.brand-cta h2 {
  font-weight: 300;
  margin-bottom: 1rem;
}

.brand-cta p {
  font-size: 1.1rem;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
}

.brand-cta-actions {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .brand-identity-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sister-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-hero-logo { padding: 1.75rem 2rem; }
  .brand-hero-logo img { max-height: 120px; }
}

@media (max-width: 600px) {
  .palette-swatches { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
  .swatch span { font-size: 0.55rem; }
  .brand-hero { min-height: 60vh; padding: calc(var(--header-h) + 2rem) 1rem 3rem; }
}
