:root {
  --bg: #140f2b;
  --bg-card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #f0b429; /* overridden per-client via JS from CLIENT.accent */
  --accent-soft: #f5c451;
  --text: #f5f4fa;
  --text-dim: #a8a3c0;
  --green: #4ade80;
  --red: #f87171;
  --yellow: #f5c451; /* fixed Unravel gold — not overridden per-client, used for our own CTAs */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at top, #1d1548 0%, #140f2b 55%, #0d0a1f 100%);
  color: var(--text);
  font-family: "Albert Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

h1, h2, .wordmark {
  font-family: "Bricolage Grotesque", "Albert Sans", sans-serif;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.wordmark {
  display: flex;
  align-items: center;
}

.wordmark svg {
  height: 24px;
  width: auto;
  display: block;
}

.topbar-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.client-tag {
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-transform: uppercase;
}

.client-tag strong {
  color: var(--accent-soft);
}

.live-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-dim);
}

.live-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 6px #3ddc84;
  flex-shrink: 0;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}

h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
  flex: 1;
  min-width: 0;
}

h1 .accent { color: var(--accent-soft); }

.hero-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-chip {
  flex: 0 0 220px;
  background: color-mix(in srgb, var(--yellow) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--yellow) 35%, transparent);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.contact-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: color-mix(in srgb, var(--yellow) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--yellow) 30%, transparent);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 28px 0 40px;
  font-size: 14.5px;
}

.contact-banner-sm {
  padding: 11px 16px;
  font-size: 12.5px;
  margin: 24px 0;
}

.btn-yellow {
  border: 1px solid color-mix(in srgb, var(--yellow) 60%, transparent);
  color: var(--yellow);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.contact-chip .btn-yellow {
  font-size: 12.5px;
  padding: 8px 12px;
  text-align: center;
}

.contact-banner-sm .btn-yellow {
  font-size: 12px;
  padding: 7px 13px;
}

.btn-yellow:hover {
  background: color-mix(in srgb, var(--yellow) 14%, transparent);
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.edge-banner {
  display: flex;
  align-items: center;
  gap: 28px;
  background: radial-gradient(ellipse at left, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 4%, transparent) 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 18px;
  padding: 28px 32px;
  margin: 20px 0 32px;
  box-shadow: 0 0 60px color-mix(in srgb, var(--accent) 18%, transparent);
}

.edge-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.edge-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.edge-divider {
  width: 1px;
  height: 56px;
  background: color-mix(in srgb, var(--accent) 40%, transparent);
  flex-shrink: 0;
}

.edge-value {
  font-family: "Bricolage Grotesque", "Albert Sans", sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: var(--accent-soft);
  line-height: 1;
  flex-shrink: 0;
}

.edge-stat-label {
  font-size: 13px;
  color: var(--text-dim);
  margin-top: 4px;
}

.edge-headline {
  font-family: "Bricolage Grotesque", "Albert Sans", sans-serif;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.edge-sub {
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 560px;
}

.subsection-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: 0.3px;
  margin: 32px 0 16px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
}

.kpi-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent-soft);
  margin-bottom: 4px;
}

.kpi-label {
  font-size: 13px;
  color: var(--text-dim);
}

.kpi-sub {
  font-size: 12px;
  color: var(--text-dim);
  opacity: 0.75;
  margin-top: 6px;
}

section.block {
  margin-bottom: 48px;
}

h2 {
  font-size: 20px;
  margin: 0 0 4px;
}

.block-sub {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0 0 20px;
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table.price-table th {
  text-align: left;
  color: var(--text-dim);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}

table.price-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
}

table.price-table tr:last-child td { border-bottom: none; }

.diff-win { color: var(--green); font-weight: 700; }
.diff-loss { color: var(--red); font-weight: 700; }
.diff-na { color: var(--text-dim); font-weight: 600; font-size: 12.5px; }

.table-scroll {
  max-height: 520px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 12px;
}
.table-scroll table { font-size: 13px; }
.table-scroll thead th {
  position: sticky;
  top: 0;
  background: #1a1440;
  z-index: 1;
}

.hotel-name { font-weight: 600; }
.hotel-city { color: var(--text-dim); font-size: 12.5px; }
.city-cell { color: var(--text-dim); }

.period-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
}

.tab-btn.active {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  color: var(--text);
}

.note-sub {
  margin-top: -14px;
  font-size: 12.5px;
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 56px 0 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.section-title:first-of-type {
  margin-top: 8px;
  padding-top: 0;
  border-top: none;
}

.section-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: 8px;
  padding: 4px 8px;
  flex-shrink: 0;
  margin-top: 3px;
}

.section-title h2 {
  font-size: 24px;
  margin: 0 0 4px;
}

.section-title p {
  color: var(--text-dim);
  font-size: 14px;
  margin: 0;
  max-width: 560px;
}

.video-layout {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
}

.video-kpis {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.video-kpis .kpi-card {
  padding: 30px 28px;
}

.video-kpis .kpi-value {
  font-size: 40px;
}

.video-kpis .kpi-label {
  font-size: 14.5px;
}

.kpi-card-wide {
  grid-column: 1 / -1;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent) 35%, transparent);
}

.footer-note {
  color: var(--text-dim);
  font-size: 12.5px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 40px;
}

/* --- Inline immersive feed (embedded phone mockup) --- */
.phone {
  width: 380px;
  max-width: 92vw;
  height: 720px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border);
}

.feed-scroll {
  height: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

.feed-card {
  position: relative;
  height: 720px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feed-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.75) 100%);
}

.feed-brand {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
}

.feed-actions {
  position: absolute;
  right: 12px;
  bottom: 130px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.feed-actions button {
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 17px;
  cursor: pointer;
}

.feed-actions span {
  display: block;
  font-size: 10.5px;
  color: #fff;
  margin-top: 3px;
}

.feed-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: color-mix(in srgb, var(--accent) 90%, transparent);
  color: #1a1330;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

.feed-info {
  position: relative;
  z-index: 2;
  padding: 0 76px 22px 18px;
  color: #fff;
}

.feed-tag {
  color: var(--accent-soft);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.feed-caption {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.feed-location {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
}

.feed-cta-row {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 14px 0 22px;
}

.feed-cta {
  display: inline-block;
  background: #fff;
  color: #1a1330;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .kpi-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .kpi-row { grid-template-columns: 1fr; }
  h1 { font-size: 30px; }
  .video-layout { flex-direction: column; align-items: center; }
  .video-kpis { width: 100%; max-width: 380px; }
  .edge-banner { flex-direction: column; align-items: flex-start; }
  .edge-stats { gap: 16px; }
  .edge-value { font-size: 56px; }
  .edge-divider { height: 40px; }
}
