/* The House — cinematic editorial page */

.house-page {
  background: #050505;
  color: var(--color-ivory);
  overflow-x: clip;
}

.house-page .container {
  max-width: min(1120px, calc(100% - var(--space-md) * 2));
}

/* ── Shared section language ── */
.house-section {
  position: relative;
  padding: clamp(88px, 12vw, 148px) 0;
}

.house-section__inner {
  max-width: 820px;
}

.house-section__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.house-section__label span {
  font-family: var(--font-heading);
  font-size: var(--text-caption);
  font-style: italic;
  color: var(--color-gold);
  opacity: 0.5;
  letter-spacing: 1px;
}

.house-section__label .label {
  margin: 0;
}

.house-section__title {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: var(--weight-light);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 14ch;
}

.house-section__title--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 18ch;
}

.house-section__title em {
  font-style: italic;
  color: var(--color-gold-dust);
}

.house-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.house-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ── 01 Hero ── */
.house-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: var(--page-top-offset) 0 clamp(72px, 10vh, 120px);
  overflow: hidden;
}

.house-hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.house-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
}

.house-hero__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.2) 38%, rgba(5, 5, 5, 0.92) 100%),
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(198, 164, 106, 0.08) 0%, transparent 70%);
}

.house-hero__dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(1px 1px at 20% 80%, rgba(232, 213, 162, 0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 72% 68%, rgba(198, 164, 106, 0.28) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 88%, rgba(232, 213, 162, 0.22) 0%, transparent 100%);
  opacity: 0.55;
  animation: house-dust-drift 14s ease-in-out infinite alternate;
}

@keyframes house-dust-drift {
  0% { transform: translateY(0); opacity: 0.45; }
  100% { transform: translateY(-12px); opacity: 0.62; }
}

.house-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.house-hero__eyebrow {
  margin-bottom: 20px;
}

.house-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(52px, 10vw, 108px);
  font-weight: var(--weight-light);
  line-height: 0.95;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--color-ivory);
}

.house-hero__tagline {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  color: var(--color-gold-dust);
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.house-hero__intro {
  max-width: 560px;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(247, 245, 241, 0.72);
  margin: 0;
}

.house-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, transparent, rgba(198, 164, 106, 0.5), transparent);
  z-index: 2;
}

.house-hero__scroll span {
  position: absolute;
  left: -2px;
  top: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: house-scroll-hint 2.2s ease-in-out infinite;
}

@keyframes house-scroll-hint {
  0%, 100% { top: 0; opacity: 0.3; }
  50% { top: 36px; opacity: 1; }
}

/* ── 02 What Is ── */
.house-what {
  border-top: 1px solid rgba(198, 164, 106, 0.1);
}

.house-what__copy {
  display: grid;
  gap: 22px;
  max-width: 680px;
}

.house-what__copy p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  color: var(--color-ivory-muted);
}

/* ── 03 Principles ── */
.house-principles {
  padding-top: clamp(72px, 10vw, 112px);
  padding-bottom: clamp(96px, 12vw, 152px);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(198, 164, 106, 0.04) 0%, transparent 68%),
    #050505;
}

.house-principles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
  margin-top: clamp(48px, 8vw, 80px);
}

.house-principle {
  position: relative;
  padding-top: 8px;
  border-top: 1px solid rgba(198, 164, 106, 0.18);
}

.house-principle__word {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(42px, 8vw, 88px);
  font-weight: var(--weight-light);
  line-height: 0.92;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 164, 106, 0.35);
}

.house-principle__word span {
  color: transparent;
}

.house-principle.is-visible .house-principle__word {
  -webkit-text-stroke-color: rgba(198, 164, 106, 0.55);
  transition: -webkit-text-stroke-color 1.2s ease 0.2s;
}

.house-principle__desc {
  margin: 0;
  font-size: var(--text-small);
  letter-spacing: 0.04em;
  color: var(--color-ivory-muted);
  max-width: 28ch;
}

/* ── 04 Journey ── */
.house-journey__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.house-journey__head {
  position: sticky;
  top: calc(var(--site-header-height, 80px) + 32px);
}

.house-journey__lead {
  margin: 0;
  max-width: 36ch;
  font-size: var(--text-small);
  line-height: 1.8;
  color: var(--color-ivory-muted);
}

.house-journey__track {
  list-style: none;
  margin: 0;
  padding: 0 0 0 clamp(24px, 3vw, 40px);
  border-left: 1px solid rgba(198, 164, 106, 0.22);
}

.house-journey__step {
  position: relative;
  padding: 0 0 clamp(40px, 6vw, 56px);
}

.house-journey__step:last-child {
  padding-bottom: 0;
}

.house-journey__step::before {
  content: '◆';
  position: absolute;
  left: calc(-1 * clamp(24px, 3vw, 40px) - 5px);
  top: 6px;
  font-size: 9px;
  color: var(--color-gold);
  opacity: 0.7;
}

.house-journey__step-label {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: var(--weight-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dust);
}

.house-journey__step-text {
  margin: 0;
  max-width: 46ch;
  font-size: var(--text-small);
  line-height: 1.85;
  color: var(--color-ivory-muted);
}

/* ── 05 Ecosystem ── */
.house-ecosystem__lead {
  max-width: 52ch;
  margin: 0 0 clamp(48px, 7vw, 72px);
  font-size: var(--text-small);
  line-height: 1.85;
  color: var(--color-ivory-muted);
}

.house-ecosystem__tree {
  position: relative;
  padding-top: 8px;
}

.house-ecosystem__root {
  margin: 0 0 clamp(32px, 5vw, 48px);
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: var(--weight-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.house-ecosystem__branches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(198, 164, 106, 0.14);
}

.house-ecosystem__branch {
  padding: clamp(24px, 3.5vw, 36px) 0;
  border-bottom: 1px solid rgba(198, 164, 106, 0.14);
}

.house-ecosystem__branch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 10px;
}

.house-ecosystem__branch h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: var(--weight-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ivory);
}

.house-ecosystem__branch p {
  margin: 0;
  max-width: 58ch;
  font-size: var(--text-small);
  line-height: 1.8;
  color: var(--color-ivory-muted);
}

.house-ecosystem__link {
  flex-shrink: 0;
  font-size: var(--type-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.house-ecosystem__link:hover {
  opacity: 0.75;
  transform: translateX(4px);
}

/* ── 06 Standard ── */
.house-standard {
  position: relative;
  min-height: clamp(520px, 72vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(96px, 12vw, 140px) 0;
  overflow: hidden;
}

.house-standard__visual {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.house-standard__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}

.house-standard__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.72) 42%, rgba(5, 5, 5, 0.45) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.3) 0%, rgba(5, 5, 5, 0.75) 100%);
}

.house-standard__content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.house-standard__copy {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.9;
  color: rgba(247, 245, 241, 0.78);
  max-width: 46ch;
}

/* ── 07 People ── */
.house-people__inner {
  max-width: 760px;
}

.house-people__copy {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.house-people__copy p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.9;
  color: var(--color-ivory-muted);
}

.house-people__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
}

.house-people__link {
  font-family: var(--font-heading);
  font-size: var(--text-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.house-people__link:hover {
  color: var(--color-gold-dust);
  transform: translateX(4px);
}

/* ── 08 Visionary ── */
.house-visionary {
  padding-top: clamp(96px, 12vw, 140px);
  border-top: 1px solid rgba(198, 164, 106, 0.1);
}

.house-visionary__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.house-visionary__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  overflow: hidden;
  will-change: transform;
}

.house-visionary__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(0.82) contrast(1.05);
}

.house-visionary__portrait-frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(198, 164, 106, 0.35);
  pointer-events: none;
}

.house-visionary__portrait-frame::before,
.house-visionary__portrait-frame::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--color-gold);
  border-style: solid;
}

.house-visionary__portrait-frame::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.house-visionary__portrait-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 1px 1px 0;
}

.house-visionary__quote {
  margin: 0 0 32px;
  padding: 0;
  border: none;
}

.house-visionary__quote p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 36px);
  font-style: italic;
  font-weight: var(--weight-light);
  line-height: 1.45;
  color: var(--color-ivory);
}

.house-visionary__identity {
  margin-bottom: 32px;
}

.house-visionary__name {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 36px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.house-visionary__role {
  margin: 0;
  font-size: var(--type-caption);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-ivory-muted);
}

.house-visionary__cta svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -2px;
}

/* ── 09 Future ── */
.house-future {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(198, 164, 106, 0.05) 0%, transparent 70%);
}

.house-future__inner {
  max-width: 720px;
  margin: 0 auto;
}

.house-future .house-section__label {
  justify-content: center;
}

.house-future .house-section__title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 16ch;
}

.house-future__copy {
  display: grid;
  gap: 18px;
}

.house-future__copy p {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.9;
  color: var(--color-ivory-muted);
}

/* ── 10 Closing ── */
.house-closing {
  position: relative;
  min-height: clamp(480px, 70vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(96px, 12vw, 140px) 0;
  overflow: hidden;
  border-top: 1px solid rgba(198, 164, 106, 0.12);
}

.house-closing__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 50% 50%, rgba(198, 164, 106, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.house-closing__dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background:
    radial-gradient(1px 1px at 30% 60%, rgba(232, 213, 162, 0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 40%, rgba(198, 164, 106, 0.35) 0%, transparent 100%);
}

.house-closing__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.house-closing__eyebrow {
  margin-bottom: 24px;
}

.house-closing__title {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: var(--weight-light);
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-ivory);
}

.house-closing__cta svg {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  vertical-align: -2px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .house-journey__layout,
  .house-visionary__layout {
    grid-template-columns: 1fr;
  }

  .house-journey__head {
    position: static;
  }

  .house-principles__grid {
    grid-template-columns: 1fr;
  }

  .house-standard__visual-overlay {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 50%, rgba(5, 5, 5, 0.9) 100%);
  }
}

@media (max-width: 767px) {
  .house-hero__title {
    letter-spacing: 0.02em;
  }

  .house-ecosystem__branch-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .house-people__links {
    flex-direction: column;
    gap: 16px;
  }

  .house-visionary__portrait {
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .house-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .house-hero__dust,
  .house-hero__scroll span {
    animation: none;
  }

  .house-hero__media,
  .house-standard__visual,
  .house-visionary__portrait {
    transform: none !important;
  }
}
