/* TBC homepage — cinematic public design pass (Aug 2026) */

.tbc-home {
  --tbc-gold: #c9a227;
  --tbc-gold-dim: rgba(201, 162, 39, 0.15);
  --tbc-bg: #070709;
  --tbc-card: #12121a;
  --tbc-border: #252530;
  --tbc-muted: #a8a8b8;
  background: var(--tbc-bg);
  color: #fff;
}

.tbc-home .container {
  max-width: 1080px;
  padding: 0 1.25rem 3rem;
}

.tbc-hero {
  position: relative;
  min-height: clamp(420px, 72vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  margin-bottom: 2rem;
}

.tbc-hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 70% 20%, rgba(201, 162, 39, 0.14), transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(80, 60, 40, 0.25), transparent 45%),
    linear-gradient(180deg, #121018 0%, #070709 55%, #070709 100%);
  z-index: 0;
}

.tbc-hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 7, 9, 0.95) 0%, rgba(7, 7, 9, 0.35) 45%, rgba(7, 7, 9, 0.6) 100%);
}

.tbc-hero__media-slot {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.tbc-hero__media-slot[data-active="true"] { opacity: 0.45; }

.tbc-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tbc-hero__video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 7, 9, 0.92) 0%,
    rgba(7, 7, 9, 0.45) 42%,
    rgba(7, 7, 9, 0.55) 100%
  );
  z-index: 1;
}

.tbc-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.05) contrast(1.05);
}

.tbc-hero--has-video .tbc-hero__backdrop {
  background:
    linear-gradient(to right, rgba(7, 7, 9, 0.82) 0%, rgba(7, 7, 9, 0.35) 55%, rgba(7, 7, 9, 0.5) 100%),
    url('../images/hero-uae-poster.jpg') center / cover no-repeat;
}

.tbc-hero--has-video .tbc-hero__backdrop::after {
  background: linear-gradient(to right, rgba(7, 7, 9, 0.82) 0%, rgba(7, 7, 9, 0.35) 55%, rgba(7, 7, 9, 0.5) 100%);
}

.tbc-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.tbc-hero__logo {
  width: min(320px, 78vw);
  height: auto;
  margin-bottom: 1.25rem;
  display: block;
}

.tbc-hero__expression {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tbc-gold);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.tbc-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
  margin: 0 0 0.85rem;
  max-width: 14ch;
}

.tbc-hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--tbc-muted);
  max-width: 36rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.tbc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tbc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tbc-btn--primary {
  background: var(--tbc-gold);
  color: #0a0a0c;
}

.tbc-btn--primary:hover {
  background: #d4ad2e;
  text-decoration: none;
}

.tbc-btn--ghost {
  background: transparent;
  border-color: var(--tbc-border);
  color: #fff;
}

.tbc-btn--ghost:hover {
  border-color: var(--tbc-gold);
  color: var(--tbc-gold);
  text-decoration: none;
}

.tbc-btn--soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  color: #8a8a98;
}

.tbc-section {
  margin-bottom: 1.5rem;
}

.tbc-section__title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
}

.tbc-section__sub {
  color: var(--tbc-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.tbc-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.tbc-pillar {
  background: var(--tbc-card);
  border: 1px solid var(--tbc-border);
  border-radius: 8px;
  padding: 1.25rem;
}

.tbc-pillar h3 {
  font-size: 1rem;
  color: var(--tbc-gold);
  margin-bottom: 0.45rem;
}

.tbc-pillar p {
  font-size: 0.9rem;
  color: var(--tbc-muted);
  margin: 0;
  line-height: 1.5;
}

.tbc-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.tbc-feature {
  background: var(--tbc-card);
  border: 1px solid var(--tbc-border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tbc-feature h3 {
  font-size: 1.05rem;
  margin: 0;
}

.tbc-feature p {
  color: var(--tbc-muted);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

.tbc-feature .tbc-btn {
  align-self: flex-start;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.tbc-feature--highlight {
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(160deg, var(--tbc-gold-dim), transparent 50%), var(--tbc-card);
}

.tbc-partner-band {
  margin-top: 2.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--tbc-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.tbc-partner-band p {
  margin: 0;
  color: var(--tbc-muted);
  font-size: 0.92rem;
  max-width: 36rem;
}

.tbc-partner-band strong { color: #fff; display: block; margin-bottom: 0.25rem; }

.tbc-partner-band .tbc-btn {
  font-size: 0.88rem;
  padding: 0.65rem 1.1rem;
}

/* Marketing promo bands */
.tbc-promo-band {
  margin-top: 1.5rem;
  padding: 1.75rem 1.75rem;
  border-radius: 10px;
  border: 1px solid var(--tbc-border);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.08), rgba(18, 18, 26, 0.95));
  text-align: center;
}

.tbc-promo-band h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
}

.tbc-promo-band p {
  margin: 0 auto 1.25rem;
  max-width: 42rem;
  color: var(--tbc-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.tbc-promo-band--directory {
  border-color: rgba(201, 162, 39, 0.35);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(160deg, #141018, #0a0a10);
}

.tbc-promo-band--directory h2 {
  color: #f0e6c8;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tbc-promo-band--communities {
  margin-top: 2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(18, 18, 26, 0.98));
}

.tbc-sister-communities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 36rem;
}

.tbc-sister-communities__logo {
  display: block;
  line-height: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--tbc-border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  transition: border-color 0.15s, transform 0.15s, opacity 0.15s;
}

.tbc-sister-communities__logo:hover {
  border-color: rgba(201, 162, 39, 0.45);
  transform: translateY(-2px);
  opacity: 0.95;
}

.tbc-sister-communities__logo img {
  height: 56px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.tbc-promo-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tbc-section__sub--marketing {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 40rem;
}

.tbc-home footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tbc-border);
  text-align: center;
  color: var(--tbc-muted);
  font-size: 0.88rem;
}

.tbc-home footer a { color: var(--tbc-gold); }

@media (max-width: 640px) {
  .tbc-hero { min-height: auto; padding-top: 1.5rem; }
  .tbc-hero h1 { max-width: none; }
  .tbc-partner-band { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .tbc-hero__media-slot { transition: none; }
}
