/* ==========================================================
   Upcoming Realms — Hub Page + Collection Landing Pages
   v2 refresh 2026-04-22 by website-manager
   Style target: outputs/website-designer/2026-04-22-realm-*.html
   Hard rule: each realm page's metallic uses --realm-metallic, NEVER brand gold.
   No copy changes — styling only.
   ========================================================== */

/* -----------------------------------------------------------
   Shared realm chrome — utilities used by both hub and landing
   ----------------------------------------------------------- */

.tb-coll-landing,
.tb-upcoming-realms {
  background: var(--realm-bg, #0c100e);
  color: var(--realm-cream, #E8E1D5);
}

/* Ornament divider — cream/metallic filament used between sections */
.tb-realm-ornament {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--realm-metallic, #D1B28C);
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tb-realm-ornament::before,
.tb-realm-ornament::after {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--realm-metallic, #D1B28C);
  opacity: 0.55;
}

/* Section tag — realm-scoped variant of existing .tb-section-tag */
body.realm-dark-romance .tb-section-tag,
body.realm-dark-masquerade .tb-section-tag,
body.realm-dark-masquerade .tb-section-tag,
body.realm-jet-noir .tb-section-tag,
body.realm-dark-academia .tb-section-tag,
body.realm-rococo-palace .tb-section-tag,
body.realm-ember-court .tb-section-tag {
  color: var(--realm-metallic);
  border-color: var(--realm-border-metallic, rgba(209, 178, 140, 0.35));
}


/* ==========================================================
   HUB PAGE: /upcoming-realms/ — .tb-upcoming-realms
   ========================================================== */

/* Hero */
.tb-ur-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.tb-ur-hero__bg { position: absolute; inset: 0; z-index: 0; }

.tb-ur-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tb-ur-hero__vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--realm-bg, #0c100e) 35%, transparent) 0%,
    color-mix(in srgb, var(--realm-bg, #0c100e) 55%, transparent) 50%,
    color-mix(in srgb, var(--realm-bg, #0c100e) 90%, transparent) 100%
  );
  z-index: 1;
}

/* 1px metallic inset frame — lifted from Dark Romance spec */
.tb-ur-hero::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.22));
  pointer-events: none;
  z-index: 2;
}

.tb-ur-hero__content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.tb-ur-hero__title {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--realm-cream, #E8E1D5);
  line-height: 1.08;
  margin: 0.75rem 0 1.25rem;
  font-weight: 600;
}

.tb-ur-hero__subtitle {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--realm-metallic, #D1B28C);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: normal;
}

.tb-ur-hero__body {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--realm-cream, #E8E1D5);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 680px;
  opacity: 0.92;
}

/* Grid */
.tb-ur-grid {
  padding: 5rem 0 7rem;
  background: var(--realm-bg, #0c100e);
  position: relative;
}

.tb-ur-grid::before {
  /* Subtle top metallic hairline */
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  background: var(--realm-metallic, #D1B28C);
  opacity: 0.4;
  margin: 0 auto 4rem;
}

.tb-ur-grid__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}

/* Card — realm-tinted per data-slug (tokens flip via scoped selectors) */
.tb-ur-card {
  background: color-mix(in srgb, var(--tb-midnight-soft, #161E35) 30%, transparent);
  border: 1px solid var(--tb-border-gold, rgba(209, 178, 140, 0.15));
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.tb-ur-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* Per-card realm accent: tint border + corner hairline per data-slug. */
.tb-ur-card[data-slug="dark-romance"]          { --card-metallic: #C4956A; }
.tb-ur-card[data-slug="dark-masquerade"],
.tb-ur-card[data-slug="dark-masquerade"]   { --card-metallic: #BFA034; }
.tb-ur-card[data-slug="jet-noir"]         { --card-metallic: #C9A832; }
.tb-ur-card[data-slug="dark-academia"]         { --card-metallic: #A08540; }
.tb-ur-card[data-slug="rococo-palace"]         { --card-metallic: #C4A24E; }
.tb-ur-card[data-slug="ember-court"]           { --card-metallic: #C49030; }
.tb-ur-card[data-slug="enchanted-forest"]      { --card-metallic: #D1B28C; }

.tb-ur-card[data-slug]:hover {
  border-color: color-mix(in srgb, var(--card-metallic, #D1B28C) 55%, transparent);
}

/* Corner flourish — tiny metallic L-brackets, realm-tinted */
.tb-ur-card::before,
.tb-ur-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid var(--card-metallic, var(--realm-metallic, #D1B28C));
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
.tb-ur-card::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.tb-ur-card::after  { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.tb-ur-card:hover::before,
.tb-ur-card:hover::after { opacity: 0.95; }

.tb-ur-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.tb-ur-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.tb-ur-card:hover .tb-ur-card__img { transform: scale(1.04); }

.tb-ur-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, color-mix(in srgb, var(--realm-bg, #0c100e) 80%, transparent) 100%);
}

.tb-ur-card__content {
  padding: 2rem 2rem 2.5rem;
}

.tb-ur-card__launch {
  display: inline-block;
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--card-metallic, var(--realm-metallic, #D1B28C));
  border: 1px solid color-mix(in srgb, var(--card-metallic, var(--realm-metallic, #D1B28C)) 45%, transparent);
  padding: 0.3em 0.8em;
  margin-bottom: 1rem;
}

.tb-ur-card__name {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: var(--realm-cream, #E8E1D5);
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.15;
}

.tb-ur-card__tagline {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
  color: var(--realm-taupe, #C4BCB1);
  font-style: normal;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.tb-ur-card__body {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1rem;
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 82%, transparent);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.tb-ur-card__cta {
  display: inline-block;
  /* Per-card ghost button — realm-metallic border + text */
  border-color: var(--card-metallic, var(--realm-metallic, #D1B28C)) !important;
  color: var(--card-metallic, var(--realm-metallic, #D1B28C)) !important;
}

.tb-ur-card__cta:hover {
  background: color-mix(in srgb, var(--card-metallic, var(--realm-metallic, #D1B28C)) 14%, transparent) !important;
}


/* ==========================================================
   COLLECTION LANDING PAGES: /upcoming-realms/{slug}/ — .tb-coll-landing
   ========================================================== */

/* Collection Hero */
.tb-coll-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 5rem;
}

.tb-coll-hero__bg { position: absolute; inset: 0; z-index: 0; }

.tb-coll-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Dual-axis scrim — vertical fade + horizontal left fade, per designer spec */
.tb-coll-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--realm-bg, #0c100e) 35%, transparent) 0%,
      transparent 28%,
      transparent 58%,
      color-mix(in srgb, var(--realm-bg, #0c100e) 75%, transparent) 85%,
      var(--realm-bg, #0c100e) 100%
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--realm-bg, #0c100e) 70%, transparent) 0%,
      color-mix(in srgb, var(--realm-bg, #0c100e) 32%, transparent) 38%,
      transparent 70%
    );
  z-index: 1;
}

/* 1px metallic inset frame */
.tb-coll-hero::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.22));
  pointer-events: none;
  z-index: 2;
}

.tb-coll-hero__content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  padding-top: 5rem;
}

.tb-coll-hero__launch {
  display: inline-block;
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--realm-metallic, #D1B28C);
  border: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.35));
  padding: 0.4em 1em;
  margin-bottom: 1.25rem;
}

.tb-coll-hero__title {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--realm-cream, #E8E1D5);
  line-height: 1.06;
  margin: 0 0 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
}

.tb-coll-hero__title em {
  color: var(--realm-metallic, #D1B28C);
  font-style: italic;
  font-weight: 500;
}

.tb-coll-hero__subtitle {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 88%, transparent);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Content section (atmosphere + teaser) */
.tb-coll-content {
  padding: 6rem 0 5rem;
  background: var(--realm-bg, #0c100e);
  position: relative;
}

/* Short metallic hairline under hero / above content */
.tb-coll-content::before {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  background: var(--realm-metallic, #D1B28C);
  opacity: 0.4;
  margin: 0 auto 3rem;
}

.tb-coll-content__inner {
  max-width: 780px;
  margin: 0 auto;
}

.tb-coll-content__atmosphere,
.tb-coll-content__teaser {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.9;
  color: var(--realm-cream, #E8E1D5);
  margin-bottom: 2.5rem;
}

.tb-coll-content__atmosphere p,
.tb-coll-content__teaser p { margin: 0; font-style: normal; }

/* 2026-09-04: the two copy slots now run through wpautop() so multi-paragraph copy and an in-copy h2
   render (Obsidian Vow). Realms storing a single paragraph render byte-identically. */
.tb-coll-content__atmosphere p + p,
.tb-coll-content__teaser p + p { margin-top: 1.15em; }
.tb-coll-content__atmosphere h2,
.tb-coll-content__teaser h2 {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  font-weight: 600;
  font-style: normal;
  color: var(--realm-cream, #E8E1D5);
  margin: 0 0 1rem;
}
.tb-coll-content__atmosphere p + h2,
.tb-coll-content__teaser p + h2 { margin-top: 2.25rem; }
/* Teaser block is italic; quoted back-of-card lines flip upright so the emphasis reads. OV-scoped. */
.realm-obsidian-vow .tb-coll-content__teaser em { font-style: normal; }

.tb-coll-content__atmosphere p:first-of-type::first-letter {
  /* Editorial drop-cap on first paragraph — realm metallic */
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: 3.6em;
  float: left;
  line-height: 0.9;
  margin: 0.08em 0.14em 0 0;
  color: var(--realm-metallic, #D1B28C);
  font-style: italic;
  font-weight: 600;
}

.tb-coll-content__teaser {
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 78%, transparent);
  border-top: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.2));
  padding-top: 2.5rem;
  font-style: italic;
}

/* Waitlist */
.tb-coll-waitlist {
  padding: 6rem 0 7rem;
  border-top: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.15));
  border-bottom: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.15));
  background:
    radial-gradient(
      ellipse at center,
      color-mix(in srgb, var(--realm-primary, #0E1426) 28%, var(--realm-bg, #0c100e)) 0%,
      var(--realm-bg, #0c100e) 70%
    );
  position: relative;
  text-align: center;
}

.tb-coll-waitlist__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.tb-coll-waitlist__heading {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--realm-cream, #E8E1D5);
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.tb-coll-waitlist__heading em {
  color: var(--realm-metallic, #D1B28C);
  font-style: italic;
}

.tb-coll-waitlist__subtext {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.15rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 85%, transparent);
  margin-bottom: 2.5rem;
  font-style: normal;
}

.tb-coll-waitlist__form { width: 100%; }

.tb-coll-waitlist__form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.tb-coll-waitlist__input {
  flex: 1 1 260px;
  min-width: 220px;
  padding: 17px 22px;
  background: var(--realm-bg, #0c100e);
  border: 1px solid var(--realm-metallic, #D1B28C);
  color: var(--realm-cream, #E8E1D5);
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 16px;
  line-height: 1.2;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.35s ease, background-color 0.35s ease;
}
.tb-coll-waitlist__input::placeholder {
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 42%, transparent);
  font-style: italic;
}
.tb-coll-waitlist__input:focus {
  border-color: var(--realm-metallic-bright, #E1C29A);
  background: color-mix(in srgb, var(--realm-primary, #0E1426) 18%, var(--realm-bg, #0c100e));
}

/* Submit button — ONLY place where metallic is a fill, for conversion emphasis */
.tb-coll-waitlist__submit {
  padding: 17px 30px;
  background: var(--realm-metallic, #D1B28C) !important;
  color: var(--realm-bg, #0c100e) !important;
  border: 1px solid var(--realm-metallic, #D1B28C) !important;
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease, color 0.35s ease;
  cursor: pointer;
}
.tb-coll-waitlist__submit:hover {
  background: var(--realm-metallic-bright, #E1C29A) !important;
  border-color: var(--realm-metallic-bright, #E1C29A) !important;
  transform: translateY(-1px);
}
.tb-coll-waitlist__submit:focus-visible {
  outline: 2px solid var(--realm-cream, #E8E1D5);
  outline-offset: 3px;
}

.tb-coll-waitlist__privacy {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 15px;
  color: var(--realm-cream, #E8E1D5);
  margin-top: 1.25rem;
  font-style: normal;
}

/* Back band — link to /upcoming-realms/ */
.tb-coll-back {
  padding: 3.5rem 0 4rem;
  text-align: center;
  background: var(--realm-secondary, #161E35);
  border-top: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.22));
}
.tb-coll-back .tb-btn.tb-btn--ghost {
  border-color: var(--realm-metallic, #D1B28C) !important;
  color: var(--realm-metallic, #D1B28C) !important;
  letter-spacing: 0.22em !important;
  font-size: 12px !important;
}
.tb-coll-back .tb-btn.tb-btn--ghost:hover {
  background: color-mix(in srgb, var(--realm-metallic, #D1B28C) 14%, transparent) !important;
  color: var(--realm-metallic-bright, #E1C29A) !important;
}

/* Hero primary CTA — realm-tinted override of the generic .tb-btn */
.tb-coll-hero .tb-btn.tb-btn--primary {
  background: var(--realm-primary, #0E1426);
  color: var(--realm-metallic, #D1B28C);
  border: 1px solid var(--realm-metallic, #D1B28C);
  letter-spacing: 0.16em;
}
.tb-coll-hero .tb-btn.tb-btn--primary:hover {
  background: var(--realm-secondary, #161E35);
  color: var(--realm-metallic-bright, #E1C29A);
  border-color: var(--realm-metallic-bright, #E1C29A);
  transform: translateY(-1px);
}


/* ==========================================================
   PALETTE REVEAL — /upcoming-realms/{slug}/
   Editorial pantone-card grid. 5 swatches desktop, 2-col mobile.
   Each swatch card uses its own --swatch-bg / --swatch-text inline,
   so every realm's palette keeps its own colour story.
   Metallic accents on headers ALWAYS use --realm-metallic,
   which is per-realm (never brand gold on these 6 realms).
   ========================================================== */

.tb-coll-palette {
  padding: 5.5rem 0 5rem;
  background: var(--realm-bg, #0c100e);
  position: relative;
}

/* Short metallic hairline above */
.tb-coll-palette::before {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  background: var(--realm-metallic, #D1B28C);
  opacity: 0.4;
  margin: 0 auto 3rem;
}

.tb-coll-palette__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tb-coll-palette__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.tb-coll-palette__eyebrow {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--realm-metallic, #D1B28C);
  display: block;
  margin-bottom: 0.85rem;
}

.tb-coll-palette__title {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--realm-cream, #E8E1D5);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.tb-coll-palette__title em {
  color: var(--realm-metallic, #D1B28C);
  font-style: italic;
  font-weight: 500;
}

.tb-coll-palette__intro {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 80%, transparent);
  font-style: normal;
  margin: 0;
}

.tb-coll-palette__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.tb-swatch {
  /* Hardened 2026-04-23 against legacy circle rule — explicit resets defeat any
     ambient .tb-swatch width/height/border-radius that may get re-introduced. */
  --swatch-bg: #1A1015;
  --swatch-text: #E5DDD2;
  background: var(--swatch-bg);
  color: var(--swatch-text);
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  aspect-ratio: 3 / 4;
  border-radius: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.25rem 1.35rem;
  border: 1px solid color-mix(in srgb, var(--realm-metallic, #D1B28C) 22%, transparent);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Soft bottom gradient so text stays readable regardless of swatch colour */
.tb-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    color-mix(in srgb, var(--swatch-bg) 88%, #000) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.tb-swatch:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--realm-metallic, #D1B28C) 55%, transparent);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45);
}

.tb-swatch__label {
  position: relative;
  z-index: 1;
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.4rem;
}

.tb-swatch__name {
  position: relative;
  z-index: 1;
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: 1.3rem;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  font-weight: 600;
}

.tb-swatch__hex {
  position: relative;
  z-index: 1;
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  opacity: 0.82;
}

/* Dark Romance uses IvyBodoni for palette title + swatch names (per brand memory) */
body.realm-dark-romance .tb-coll-palette__title,
body.realm-dark-romance .tb-swatch__name {
  font-family: 'ivybodoni', 'ivypresto-display', Georgia, serif;
}


/* ==========================================================
   MOOD GRID — /upcoming-realms/{slug}/
   Asymmetric editorial grid, 8-12 images per realm.
   Desktop: 3-col with selective wide spans; mobile: 2-col staggered.
   No captions overlaid on images by default — hidden unless --show-caption.
   ========================================================== */

.tb-coll-mood {
  padding: 5rem 0 6rem;
  background: var(--realm-bg, #0c100e);
  position: relative;
  border-top: 1px solid var(--realm-border-metallic, rgba(209, 178, 140, 0.18));
}

.tb-coll-mood__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tb-coll-mood__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.tb-coll-mood__eyebrow {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--realm-metallic, #D1B28C);
  display: block;
  margin-bottom: 0.85rem;
}

.tb-coll-mood__title {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--realm-cream, #E8E1D5);
  line-height: 1.15;
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.tb-coll-mood__title em {
  color: var(--realm-metallic, #D1B28C);
  font-style: italic;
  font-weight: 500;
}

.tb-coll-mood__intro {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem;
  line-height: 1.75;
  color: color-mix(in srgb, var(--realm-cream, #E8E1D5) 80%, transparent);
  font-style: normal;
  margin: 0;
}

.tb-coll-mood__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
}

.tb-coll-mood__card {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--realm-metallic, #D1B28C) 18%, transparent);
  background: color-mix(in srgb, var(--realm-bg, #0c100e) 70%, #000);
  transition: transform 0.45s ease, border-color 0.35s ease, box-shadow 0.45s ease;
}

.tb-coll-mood__card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--realm-metallic, #D1B28C) 45%, transparent);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45);
}

/* Span modifiers — let editor mark hero rows without manual breakpoints */
.tb-coll-mood__card--wide   { grid-column: span 2; }
.tb-coll-mood__card--tall   { grid-row: span 2; }
.tb-coll-mood__card--square { aspect-ratio: 1 / 1; }

/* Default single cells — 4:5 portrait keeps grid visually balanced */
.tb-coll-mood__card:not(.tb-coll-mood__card--wide):not(.tb-coll-mood__card--tall):not(.tb-coll-mood__card--square) {
  aspect-ratio: 4 / 5;
}

.tb-coll-mood__card--wide   { aspect-ratio: 21 / 10; }
.tb-coll-mood__card--tall   { aspect-ratio: 4 / 5; }

.tb-coll-mood__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s ease, filter 0.45s ease;
  display: block;
}

.tb-coll-mood__card:hover .tb-coll-mood__img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.tb-coll-mood__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--realm-cream, #E8E1D5);
  background: linear-gradient(to top, color-mix(in srgb, var(--realm-bg, #0c100e) 92%, #000) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.tb-coll-mood__card:hover .tb-coll-mood__caption {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   HOMEPAGE ADDITIONS — kept for back-compat with existing calls
   ========================================================== */

.tb-home-next-drop {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1A1015;
}
.tb-home-next-drop__bg { position: absolute; inset: 0; z-index: 0; }
.tb-home-next-drop__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.55;
}
.tb-home-next-drop__vignette {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,16,21,0.75) 0%, rgba(26,16,21,0.45) 60%, rgba(26,16,21,0.65) 100%);
  z-index: 1;
}
.tb-home-next-drop__content {
  position: relative; z-index: 2;
  max-width: 620px; padding: 5rem 0;
}
.tb-home-next-drop__eyebrow {
  font-family: 'ivypresto-display', Georgia, serif;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #C4956A;
  display: block; margin-bottom: 1rem;
}
.tb-home-next-drop__title {
  font-family: var(--tb-font-display-romance, 'ivybodoni', 'ivypresto-display', Georgia, serif);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: #E5DDD2; line-height: 1.12;
  margin: 0 0 1rem; font-weight: 600;
}
.tb-home-next-drop__desc {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.1rem; line-height: 1.8;
  color: rgba(229, 221, 210, 0.85); margin-bottom: 2rem;
}

.tb-home-realms-teaser {
  position: relative;
  padding: 5rem 0;
  background: var(--tb-bg, #0c100e);
  overflow: hidden;
}
.tb-home-realms-teaser__bg { position: absolute; inset: 0; z-index: 0; }
.tb-home-realms-teaser__bg-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.3;
}
.tb-home-realms-teaser__overlay {
  position: absolute; inset: 0;
  background: rgba(12, 16, 14, 0.65);
  z-index: 1;
}
.tb-home-realms-teaser__content {
  position: relative; z-index: 2;
  text-align: center; max-width: 640px;
  margin: 0 auto;
}
.tb-home-realms-teaser__title {
  font-family: var(--tb-font-display, 'ivypresto-display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--tb-ivory, #E8E1D5);
  margin-bottom: 1rem; font-weight: 600;
}
.tb-home-realms-teaser__subtitle {
  font-family: var(--tb-font-body, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.15rem; line-height: 1.75;
  color: rgba(232, 225, 213, 0.8);
  margin-bottom: 2rem;
}


/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 900px) {
  .tb-ur-hero::after,
  .tb-coll-hero::after { inset: 12px; }
  .tb-coll-hero__title { font-size: clamp(2.4rem, 10vw, 3.5rem); }
}

@media (max-width: 960px) {
  .tb-ur-grid__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .tb-ur-grid__inner { grid-template-columns: 1fr; }

  .tb-coll-hero {
    min-height: 70vh;
    padding-bottom: 3.5rem;
  }

  .tb-coll-waitlist__form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .tb-coll-waitlist__input,
  .tb-coll-waitlist__submit {
    width: 100%;
    flex: none; font-size: 12px;
  }

  .tb-coll-waitlist { padding: 4rem 1rem 5rem; }
}

@media (max-width: 560px) {
  .tb-ur-hero__content { padding-top: 5rem; padding-bottom: 4rem; }
  .tb-coll-hero__content { padding-top: 3rem; }
}



/* Obsidian Vow readability overrides — gunmetal metallic is too dark for text */
.realm-obsidian-vow .tb-coll-hero__launch {
  color: #C9CACD;
  border-color: rgba(201, 202, 205, 0.35);
}
.realm-obsidian-vow .tb-coll-hero__title em {
  color: #C9CACD;
}
.realm-obsidian-vow .tb-btn.tb-btn--ghost {
  color: #C9CACD !important;
  border-color: rgba(201, 202, 205, 0.45) !important;
}
.realm-obsidian-vow .tb-btn.tb-btn--ghost:hover {
  background: rgba(201, 202, 205, 0.12) !important;
  color: #fff !important;
}

.realm-obsidian-vow .tb-coll-hero .tb-btn.tb-btn--primary {
  /* 2026-09-04: Oxblood retired (style guide §4); the one wine is Deep Wine #4A0F1B.
     Deep wine on smoke black is low-contrast as a fill, so a 1px Pewter border at 45% carries the edge.
     Pewter #C9CACD on #4A0F1B = 9.3:1. Hover is a lightened deep wine, not oxblood. */
  background: #4A0F1B !important;
  color: #C9CACD !important;
  border: 1px solid rgba(201, 202, 205, 0.45) !important;
}
.realm-obsidian-vow .tb-coll-hero .tb-btn.tb-btn--primary:hover {
  background: #5E1524 !important;
  color: #fff !important;
  border-color: rgba(201, 202, 205, 0.65) !important;
}
.realm-obsidian-vow .tb-ur-card__cta {
  color: #C9CACD !important;
  border-color: rgba(201, 202, 205, 0.45) !important;
}

/* ==========================================================
   Responsive — Palette + Mood
   ========================================================== */

@media (max-width: 900px) {
  .tb-coll-palette__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .tb-coll-mood__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  /* Wide cards collapse to full row on 2-col layout */
  .tb-coll-mood__card--wide { grid-column: span 2 !important; aspect-ratio: 16 / 9; } /* !important: caps inline span 3 (OV) on the 2-col grid */
}

@media (max-width: 560px) {
  .tb-coll-palette { padding: 4rem 0 3.5rem; }
  .tb-coll-palette__inner { padding: 0 1rem; }
  .tb-coll-palette__grid { gap: 0.85rem; }
  .tb-swatch {
    padding: 1.15rem 1rem 1.1rem;
  }
  .tb-swatch__name { font-size: 1.1rem; }

  .tb-coll-mood { padding: 3.75rem 0 4.5rem; }
  .tb-coll-mood__inner { padding: 0 1rem; }
  .tb-coll-mood__grid { gap: 0.85rem; }
  .tb-coll-mood__card--tall { grid-row: span 1; }
}


/* ==========================================================
   OBSIDIAN VOW — hero vignette override (2026-09-03)
   OV's hero imagery is intentionally dark (editorial marble, silk,
   single-source lighting). The default dual-axis scrim renders it
   invisible. This realm-specific override lightens both gradients
   so the image shows through while keeping text readable.
   ========================================================== */

/* Hub card metallic — Gunmetal Steel */
.tb-ur-card[data-slug="obsidian-vow"] { --card-metallic: #4D5057; }

/* Lighter vignette for OV collection landing hero */
body.realm-obsidian-vow .tb-coll-hero__vignette {
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--realm-bg, #0A0A0B) 15%, transparent) 0%,
      transparent 25%,
      transparent 60%,
      color-mix(in srgb, var(--realm-bg, #0A0A0B) 40%, transparent) 85%,
      color-mix(in srgb, var(--realm-bg, #0A0A0B) 70%, transparent) 100%
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--realm-bg, #0A0A0B) 35%, transparent) 0%,
      color-mix(in srgb, var(--realm-bg, #0A0A0B) 15%, transparent) 38%,
      transparent 65%
    );
}
