/* The house. One sentence, five halls, three faces. */

body.house .cosmos-veil {
  background:
    radial-gradient(ellipse 38% 62% at 28% 46%, rgba(3, 2, 3, 0.18) 0%, rgba(3, 2, 3, 0.55) 48%, rgba(3, 2, 3, 0.88) 100%),
    linear-gradient(180deg, rgba(3, 2, 3, 0.55) 0%, transparent 22%, transparent 70%, rgba(3, 2, 3, 0.92) 100%);
}

body.house .site-header {
  background: linear-gradient(180deg, rgba(3, 2, 3, 0.55), transparent);
  border-bottom-color: transparent;
}
body.house .site-header.scrolled {
  background: rgba(3, 2, 3, 0.78);
  border-bottom-color: var(--line);
}
body.house .logo-word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.22em;
  text-transform: none;
}
body.house .nav {
  color: var(--sand);
  letter-spacing: 0.18em;
}
body.house .search-wrap input {
  background: transparent;
  border-color: transparent;
  border-bottom: 1px solid rgba(232, 210, 180, 0.28);
  border-radius: 0;
  width: 7.5rem;
}
body.house .search-wrap input:focus {
  width: 12rem;
  border-color: transparent;
  border-bottom-color: var(--gold);
}

.gate {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  width: min(92rem, calc(100% - 8vw));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 1.25rem) 0 3.5rem;
}

.gate-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.gate-en {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(6.5rem, 18vh, 11rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: var(--cream);
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

.gate h1 { text-align: left; }
.gate-ar {
  display: block;
  width: max-content;
  direction: rtl;
  font-family: "Aref Ruqaa", "Scheherazade New", "Traditional Arabic", serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 7vh, 4.6rem);
  line-height: 1.15;
  color: #f0d090;
  margin-top: 0.35rem;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.gate-line {
  margin-top: 1.6rem;
  max-width: 16em;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vh, 1.85rem);
  line-height: 1.35;
  color: var(--cream);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.halls {
  display: flex;
  flex-direction: column;
  align-self: center;
}
.halls a {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  column-gap: 1rem;
  row-gap: 0.15rem;
  align-items: baseline;
  padding: 0.95rem 0 1rem;
  border-top: 1px solid rgba(232, 210, 180, 0.18);
  color: inherit;
}
.halls a:last-child {
  border-bottom: 1px solid rgba(232, 210, 180, 0.18);
}
.halls a span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}
.halls a strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3.4vh, 2.45rem);
  letter-spacing: 0.01em;
  color: var(--cream);
}
.halls a em {
  grid-column: 2;
  font-style: normal;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--sand);
}
.halls a:hover strong,
.halls a:focus-visible strong {
  color: var(--gold-soft);
}
.halls a:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

.altar {
  width: min(92rem, calc(100% - 8vw));
  margin: 2vh auto 6vh;
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 1.1rem;
  align-items: end;
}
.altar figure { margin: 0; }
.altar img {
  width: 100%;
  height: min(52vh, 560px);
  object-fit: cover;
  object-position: center;
}
.altar figure:nth-child(2) img {
  height: min(64vh, 680px);
}
.altar figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream);
}

body.house .quote-strip {
  width: min(34rem, calc(100% - 8vw));
  margin: 1rem auto 5rem;
  padding: 0;
  border: 0;
  text-align: left;
}
body.house .quote-strip blockquote {
  font-size: clamp(1.45rem, 2.4vh, 1.85rem);
  max-width: none;
}
body.house .quote-strip cite {
  color: var(--sand);
  letter-spacing: 0.22em;
}

body.house .site-footer {
  border-top-color: transparent;
  background: transparent;
  padding-top: 1rem;
}
body.house .site-footer .foot-mars {
  letter-spacing: 0.34em;
  font-weight: 400;
}

@media (max-width: 980px) {
  body.house .search-wrap {
    order: 4;
    width: 100%;
    margin-left: 0;
  }
  body.house .search-wrap input,
  body.house .search-wrap input:focus {
    width: 100%;
  }
  .gate {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 7.5rem;
    gap: 2.5rem;
  }
  .gate-en { font-size: clamp(5rem, 22vw, 7.5rem); }
  .altar {
    grid-template-columns: 1fr;
  }
  .altar img,
  .altar figure:nth-child(2) img {
    height: 52vw;
    min-height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.house .page-enter { animation: none; }
}
