/* Frontier Brand Proposition — deck styles
 * Builds on colors_and_type.css. Every slide is 1920×1080.
 * Scaling is handled by <deck-stage>.
 */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Slide frame ────────────────────────────────────────────────────────── */
.slide {
  position: relative;
  width: 1920px;
  height: 1080px;
  background: var(--color-surface);
  color: var(--color-ink);
  overflow: hidden;
  font-family: var(--font-ui);
  font-feature-settings: "kern" 1, "liga" 1;
}
.slide[data-theme="dark"] { background: #000; color: #fff; }

/* ── Page furniture ─────────────────────────────────────────────────────── */
.page-title {
  position: absolute;
  left: 60px;
  top: 60px;
  font-family: var(--font-ui);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: currentColor;
}
.pagination {
  position: absolute;
  right: 60px;
  top: 60px;
  font-family: var(--font-ui);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: currentColor;
  font-variant-numeric: tabular-nums;
}
.footer {
  position: absolute;
  left: 60px;
  right: 60px;
  bottom: 48px;
  height: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.55);
}
.slide[data-theme="dark"] .footer { color: rgba(255, 255, 255, 0.45); }

/* ── Type utilities ─────────────────────────────────────────────────────── */
.t-mega   { font-family: var(--font-display); font-weight: 300; font-size: 180px; line-height: 0.98; letter-spacing: -0.015em; }
.t-xl     { font-family: var(--font-display); font-weight: 300; font-size: 68px;  line-height: 1.08; letter-spacing: -0.01em; }
.t-l      { font-family: var(--font-display); font-weight: 300; font-size: 56px;  line-height: 1.08; letter-spacing: -0.01em; }
.t-m      { font-family: var(--font-display); font-weight: 300; font-size: 46px;  line-height: 1.12; letter-spacing: -0.01em; }
.t-s      { font-family: var(--font-display); font-weight: 300; font-size: 36px;  line-height: 1.15; letter-spacing: -0.005em; }
.italic   { font-style: italic; }

.t-eyebrow {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.t-eyebrow--sm {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.2;
}
.t-body {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.45;
  letter-spacing: 0.002em;
}
.t-body--sm {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.5;
}
.t-caption {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
}

.subtle-l { color: rgba(102, 102, 102, 0.65); }
.slide[data-theme="dark"] .subtle-l { color: rgba(255, 255, 255, 0.55); }

/* ── Layout primitives ──────────────────────────────────────────────────── */
.slide-body {
  position: absolute;
  left: 60px;
  right: 60px;
  top: 150px;
  bottom: 110px;
}
.rule {
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}
.rule--thin { opacity: 0.2; }

/* Cover & divider wordmark */
.wm-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 130px;
  display: flex;
  align-items: center;
  gap: 72px;
  color: #fff;
}
.wm-center img { height: 22px; display: block; }
.wm-center .addr {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

/* ── Cards / grids ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }

.card {
  background: rgba(235, 235, 235, 0.92);
  padding: 40px 44px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.slide[data-theme="dark"] .card { background: rgba(255, 255, 255, 0.06); }

.card__num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  line-height: 1;
  letter-spacing: -0.01em;
  color: currentColor;
  margin-bottom: 8px;
}

/* Column with a top rule (brand-framework style) */
.col-rule {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid currentColor;
  height: 100%;
}
.col-rule .fix-tag {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.4);
  color: rgba(0,0,0,0.6);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.4;
}
.col-rule .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.col-rule .ttl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.005em;
}

/* ── Comparison table (inside WPP) ──────────────────────────────────────── */
.compare {
  width: 100%;
  border-collapse: collapse;
}
.compare th, .compare td {
  padding: 24px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1.45;
  font-weight: 400;
  color: #000;
}
.compare thead th {
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
  padding-top: 0;
}
.compare th.row-label, .compare td.row-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.55);
  width: 190px;
  font-weight: 400;
}
.compare .brand-label {
  font-family: var(--font-ui);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 400;
  display: block;
  margin-bottom: 6px;
}
.compare .brand-name {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 300;
  display: block;
  margin-bottom: 2px;
}
.compare .brand-sub {
  font-family: var(--font-ui);
  font-style: oblique;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.6);
  display: block;
}
.compare .mt-col {
  background: rgba(235, 235, 235, 0.6);
}

/* Venn / overlap */
.venn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: stretch;
  width: 100%;
}
.venn > div {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.venn .center {
  background: rgba(235, 235, 235, 0.92);
}
.venn ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.venn ul li {
  font-family: var(--font-ui);
  font-size: 22px;
  line-height: 1.4;
  padding-left: 18px;
  position: relative;
}
.venn ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 1px;
  background: #000;
}

/* Tier intensity bars */
.tier-bar {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.tier-bar span {
  height: 6px;
  background: #000;
  flex: 1;
}
.tier-bar span.off { background: rgba(0,0,0,0.12); }

/* Scenarios */
.scenario {
  background: rgba(235, 235, 235, 0.92);
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}
.scenario.brave {
  background: #000;
  color: #fff;
}
.scenario .line {
  font-family: var(--font-ui);
  font-size: 19px;
  line-height: 1.5;
}
.scenario .line strong {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
  opacity: 0.7;
}

/* Numbered vertical blocks */
.num-block {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  align-items: start;
}
.num-block:first-child { border-top: 1px solid #000; }
.num-block .n {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.num-block .ttl {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.num-block .body {
  font-family: var(--font-ui);
  font-size: 24px;
  line-height: 1.45;
  max-width: 1200px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: end;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.stat .big {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 120px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.stat .big-sm {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .label {
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1.45;
  border-top: 1px solid #000;
  padding-top: 20px;
  max-width: 440px;
}

/* Cover */
.cover-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  padding: 0 120px;
}
.cover-title .display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 128px;
  line-height: 1;
  letter-spacing: -0.015em;
}
.cover-title .sub {
  margin-top: 44px;
  font-family: var(--font-ui);
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
}

/* Section divider */
.section-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 60px;
}
.section-center .eyebrow {
  font-family: var(--font-ui);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
}
.section-center .mega {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 180px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-align: center;
}

/* Positioning statement slide */
.position-stmt {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 160px;
  text-align: center;
}

/* Closing ask slide */
.ask-numbers {
  display: grid;
  grid-template-columns: 60px 1fr;
  column-gap: 36px;
  row-gap: 36px;
  align-items: start;
  max-width: 1400px;
  margin: 60px auto 0;
}
.ask-numbers .n {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.ask-numbers .body {
  font-family: var(--font-ui);
  font-size: 22px;
  line-height: 1.5;
}
.ask-numbers .body strong {
  font-weight: 400;
  font-family: var(--font-display);
  font-size: 26px;
  display: block;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}

/* Closing line below content */
.closing-line {
  font-family: var(--font-ui);
  font-size: 20px;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.55);
  font-style: oblique;
}
.slide[data-theme="dark"] .closing-line { color: rgba(255, 255, 255, 0.65); }

/* Helpers */
.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 16px; }
.gap-md { gap: 24px; }
.gap-lg { gap: 40px; }
.gap-xl { gap: 56px; }
