/* ══════════════════════════════════════════════════════════════
   thetemplenights.com · root landing
   Shared promo chrome + the Temple Nights page.
   Palette: ebony #0E0C0B · cream #F0ECE5 · sand #F6EFE5
            oxblood #6D2D17 · accent #A84F2F · gold #C8A15A
   ══════════════════════════════════════════════════════════════ */

body.osl-promo-site,
body.osl-promo-root {
  --tp-ebony: #0e0c0b;
  --tp-cream: #f0ece5;
  --tp-sand: #f6efe5;
  --tp-oxblood: #6d2d17;
  --tp-accent: #a84f2f;
  --tp-gold: #c8a15a;
  --tp-ink: #1a1210;
  --tp-hair: rgba(240, 236, 229, 0.16);
  --tp-hair-dark: rgba(26, 18, 16, 0.14);

  margin: 0;
  background: var(--tp-ebony);
  color: var(--tp-cream);
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.7;
}

body.osl-promo-root #main-content,
body.gv-page #main-content {
  padding: 0;
}

.promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  background: var(--tp-ebony);
  border-bottom: 1px solid var(--tp-hair);
}

.promo-head__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--tp-cream);
}

.promo-head__brand img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.promo-head__brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.promo-head__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.promo-head__nav a {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(240, 236, 229, 0.72);
}

.promo-head__nav a:hover,
.promo-head__nav a:focus-visible {
  color: var(--tp-gold);
}

.promo-foot {
  padding: 56px 28px 64px;
  background: var(--tp-ebony);
  border-top: 1px solid var(--tp-hair);
}

.promo-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.promo-foot__brand {
  margin: 0 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--tp-cream);
}

.promo-foot__note,
.promo-foot__fine {
  margin: 0 0 10px;
  font-size: 0.76rem;
  line-height: 1.8;
  color: rgba(240, 236, 229, 0.48);
}

.promo-foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 18px 0 14px;
  font-size: 0.76rem;
  color: rgba(240, 236, 229, 0.4);
}

.promo-foot__links a,
.promo-foot__button {
  color: rgba(240, 236, 229, 0.7);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.promo-foot__links a:hover,
.promo-foot__button:hover {
  color: var(--tp-gold);
}

/* ── Shared type ───────────────────────────────────────────── */
.tp-eyebrow {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--tp-accent);
}

.tp-eyebrow--gold {
  color: var(--tp-gold);
}

.tp-hero .tp-eyebrow {
  color: #e6c78a;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.tp-h1 {
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  font-weight: 300;
  line-height: 1.03;
  letter-spacing: -0.01em;
}

.tp-h2 {
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.005em;
  color: var(--tp-ink);
}

.tp-h2--light {
  color: var(--tp-cream);
}

.tp-lede {
  margin: 0;
  max-width: 58ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(26, 18, 16, 0.72);
}

.tp-section--dark .tp-lede,
.tp-invite .tp-lede {
  color: rgba(240, 236, 229, 0.7);
}

.tp-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.tp-section {
  padding: 112px 28px;
}

.tp-section--cream {
  background:
    radial-gradient(circle at 88% 6%, rgba(200, 161, 90, 0.12), transparent 34%),
    var(--tp-sand);
}

.tp-section--dark {
  background: var(--tp-ebony);
}

/* ── Hero ──────────────────────────────────────────────────── */
.tp-hero {
  position: relative;
  min-height: clamp(620px, 86vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.tp-hero__media,
.tp-hero__veil {
  position: absolute;
  inset: 0;
}

.tp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.tp-hero__veil {
  background:
    linear-gradient(180deg, rgba(14, 12, 11, 0.55) 0%, rgba(14, 12, 11, 0.2) 36%, rgba(14, 12, 11, 0.9) 100%),
    radial-gradient(circle at 20% 70%, rgba(109, 45, 23, 0.35), transparent 52%);
}

.tp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px 76px;
}

.tp-hero__sub {
  max-width: 54ch;
  margin: 0 0 36px;
  font-size: 1.04rem;
  line-height: 1.85;
  color: rgba(240, 236, 229, 0.78);
}

.tp-hero__actions,
.tp-close__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tp-hero__fine {
  margin: 26px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 229, 0.42);
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.tp-btn--solid {
  background: var(--tp-cream);
  color: var(--tp-ebony);
  border-color: var(--tp-cream);
}

.tp-btn--solid:hover,
.tp-btn--solid:focus-visible {
  background: var(--tp-gold);
  border-color: var(--tp-gold);
}

.tp-btn--ghost {
  color: var(--tp-cream);
  border-color: rgba(240, 236, 229, 0.38);
}

.tp-btn--ghost:hover,
.tp-btn--ghost:focus-visible {
  border-color: var(--tp-gold);
  color: var(--tp-gold);
}

/* ── Intro ─────────────────────────────────────────────────── */
.tp-two {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.tp-body p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(26, 18, 16, 0.76);
}

.tp-body__note {
  margin-top: 28px !important;
  padding-top: 22px;
  border-top: 1px solid var(--tp-hair-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem !important;
  font-style: italic;
  color: var(--tp-ink) !important;
}

/* ── Rooms ─────────────────────────────────────────────────── */
.tp-rooms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.tp-room {
  display: flex;
  flex-direction: column;
  background: #151110;
  border: 1px solid var(--tp-hair);
}

.tp-room img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(0.7) contrast(1.04);
}

.tp-room--white img {
  filter: saturate(0.55) brightness(1.02);
}

.tp-room--red img {
  filter: saturate(0.9) contrast(1.05);
}

.tp-room--dark img {
  filter: saturate(0.4) brightness(0.85);
}

.tp-room__body {
  padding: 30px 26px 32px;
}

.tp-room__label {
  margin: 0 0 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tp-gold);
}

.tp-room h3 {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--tp-cream);
}

.tp-room p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(240, 236, 229, 0.66);
}

.tp-room__access {
  margin: 0 !important;
  padding-top: 16px;
  border-top: 1px solid var(--tp-hair);
  font-size: 0.68rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240, 236, 229, 0.42) !important;
}

/* ── Entry ─────────────────────────────────────────────────── */
.tp-entry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  background: var(--tp-hair-dark);
  border: 1px solid var(--tp-hair-dark);
}

.tp-entry__item {
  padding: 38px 30px 40px;
  background: var(--tp-sand);
}

.tp-entry__item--key {
  background: #fffaf3;
}

.tp-entry__num {
  margin: 0 0 20px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--tp-accent);
}

.tp-entry h3 {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--tp-ink);
}

.tp-entry p {
  margin: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(26, 18, 16, 0.72);
}

.tp-entry a {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tp-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Invitation strip ──────────────────────────────────────── */
.tp-invite {
  padding: 96px 28px;
  background:
    radial-gradient(circle at 82% 50%, rgba(200, 161, 90, 0.16), transparent 42%),
    #120e0d;
  border-top: 1px solid var(--tp-hair);
  border-bottom: 1px solid var(--tp-hair);
}

.tp-invite__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: center;
}

.tp-invite__action {
  justify-self: end;
  text-align: right;
}

.tp-invite__fine {
  margin: 16px 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 236, 229, 0.4);
}

/* ── Dates ─────────────────────────────────────────────────── */
.tp-dates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.tp-date {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 132px;
  background: #fff;
  border: 1px solid var(--tp-hair-dark);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.tp-date:hover,
.tp-date:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 18, 16, 0.12);
}

.tp-date__image {
  flex: 0 0 104px;
  overflow: hidden;
  background: #e9e1d6;
}

.tp-date__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tp-date__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  padding: 14px 16px 13px;
}

.tp-date__when {
  margin: 0;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tp-accent);
}

.tp-date h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.06rem;
  font-weight: 400;
  line-height: 1.18;
  color: var(--tp-ink);
}

.tp-date__desc {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.5;
  color: rgba(26, 18, 16, 0.64);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tp-date__meta {
  margin: auto 0 0;
  padding-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 18, 16, 0.5);
}

.tp-dates__all {
  margin: 28px 0 0;
  text-align: center;
}

.tp-dates__all a {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tp-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Leaving the promo page ────────────────────────────────── */
.promo-leave {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1210;
}

.promo-leave::backdrop {
  background: rgba(14, 12, 11, 0.78);
  backdrop-filter: blur(3px);
}

.promo-leave__inner {
  margin: 0;
  padding: 34px 32px 30px;
  background: #faf4ed;
  border: 1px solid rgba(200, 161, 90, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.promo-leave__eyebrow {
  margin: 0 0 12px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #a84f2f;
}

.promo-leave__title {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  line-height: 1.1;
  color: #1a1210;
}

.promo-leave__copy {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(26, 18, 16, 0.72);
}

.promo-leave__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.promo-leave__stay,
.promo-leave__go {
  flex: 1 1 170px;
  min-height: 52px;
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.promo-leave__stay {
  border: 1px solid rgba(26, 18, 16, 0.28);
  background: transparent;
  color: #1a1210;
}

.promo-leave__stay:hover,
.promo-leave__stay:focus-visible {
  border-color: #a84f2f;
  color: #a84f2f;
}

.promo-leave__go {
  border: 1px solid #1a1210;
  background: #1a1210;
  color: #f0ece5;
}

.promo-leave__go:hover,
.promo-leave__go:focus-visible {
  background: #a84f2f;
  border-color: #a84f2f;
}

/* ── The Silver Key modal ─────────────────────────────────────— */
.promo-key-dialog {
  width: min(840px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1a1210;
}

.promo-key-dialog::backdrop {
  background: rgba(14, 12, 11, 0.8);
  backdrop-filter: blur(3px);
}

.promo-key-dialog__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background:
    radial-gradient(circle at 92% 0%, rgba(200, 161, 90, 0.18), transparent 38%),
    #faf4ed;
  border: 1px solid rgba(200, 161, 90, 0.42);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
}

.promo-key-dialog__media {
  background: #0e0c0b;
}

.promo-key-dialog__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.promo-key-dialog__body {
  padding: 36px 36px 32px;
}

.promo-key-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(26, 18, 16, 0.18);
  background: #faf4ed;
  color: #1a1210;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.promo-key-dialog__close:hover,
.promo-key-dialog__close:focus-visible {
  border-color: #a84f2f;
  color: #a84f2f;
}

.promo-key-dialog__eyebrow {
  margin: 0 0 12px;
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #a84f2f;
}

.promo-key-dialog__title {
  margin: 0 0 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: #1a1210;
}

.promo-key-dialog__list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.promo-key-dialog__list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(26, 18, 16, 0.72);
}

.promo-key-dialog__list li::before {
  content: '·';
  position: absolute;
  left: 3px;
  top: -2px;
  color: #c8a15a;
  font-size: 1.2rem;
}

.promo-key-dialog__fine {
  margin: 0 0 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(26, 18, 16, 0.1);
  font-size: 0.72rem;
  line-height: 1.6;
  color: rgba(26, 18, 16, 0.5);
}

.promo-key-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-key-dialog__stay,
.promo-key-dialog__go {
  flex: 1 1 150px;
  min-height: 48px;
  padding: 12px 16px;
  font-family: 'Roboto', sans-serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.promo-key-dialog__stay {
  border: 1px solid rgba(26, 18, 16, 0.28);
  background: transparent;
  color: #1a1210;
}

.promo-key-dialog__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1210;
  background: #1a1210;
  color: #f0ece5;
}

.promo-key-dialog__go:hover,
.promo-key-dialog__go:focus-visible {
  background: #a84f2f;
  border-color: #a84f2f;
}

/* ── Close ─────────────────────────────────────────────────── */
.tp-close {
  padding: 104px 28px 116px;
  background:
    radial-gradient(circle at 50% 120%, rgba(109, 45, 23, 0.5), transparent 60%),
    #120e0d;
  border-top: 1px solid var(--tp-hair);
}

.tp-close__inner {
  text-align: center;
}

.tp-close .tp-h2 {
  margin-left: auto;
  margin-right: auto;
}

.tp-close__actions {
  justify-content: center;
  margin-top: 36px;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .tp-two,
  .tp-invite__inner {
    grid-template-columns: 1fr;
  }

  .tp-invite__action {
    justify-self: start;
    text-align: left;
  }

  .tp-rooms,
  .tp-entry {
    grid-template-columns: 1fr;
  }

  .tp-dates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tp-room {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .tp-room img {
    height: 100%;
    min-height: 240px;
  }

  .tp-entry {
    gap: 1px;
  }
}

@media (max-width: 680px) {
  .promo-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }

  .promo-head__nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .tp-section {
    padding: 72px 20px;
  }

  .tp-hero__inner {
    padding: 0 20px 56px;
  }

  .tp-room {
    display: flex;
  }

  .tp-room img {
    min-height: 0;
    height: 190px;
  }

  .tp-dates {
    grid-template-columns: 1fr;
  }

  .tp-date {
    min-height: 118px;
  }

  .tp-date__image {
    flex-basis: 96px;
  }

  .promo-leave__inner {
    padding: 26px 22px 24px;
  }

  .promo-leave__title {
    font-size: 1.6rem;
  }

  .promo-key-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
  }

  .promo-key-dialog__inner {
    grid-template-columns: 1fr;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
  }

  .promo-key-dialog__media img {
    height: 220px;
    min-height: 0;
  }

  .promo-key-dialog__body {
    padding: 26px 22px 30px;
  }

  .tp-invite,
  .tp-close {
    padding-left: 20px;
    padding-right: 20px;
  }
}
