/* BigData Boutique slide deck theme for reveal.js (used with disableLayout: true).
   Slides keep their own responsive layout; reveal only drives navigation. */

:root {
  --paper: #FFFFFF;
  --card: #FAF8F4;
  --line: #E9E3D8;
  --text: #1B1A19;
  --muted: #5C5C5C;
  --build: #5A63B0;
  --build-text: #4A5296;
  --build-dim: rgba(90, 99, 176, 0.10);
  --maintain: #F29120;
  --maintain-text: #B4650A;
  --maintain-dim: rgba(242, 145, 32, 0.12);
  --nb: #8555FF;      /* NeverBlink brand purple (neverblink.ai) */
  --nb-text: #6B46E5;
  --display: "Avenir Next", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Presentation type scale: rem tracks the viewport so text stays readable
   when projected or screen-shared (this stylesheet only loads on /slides). */
html { font-size: clamp(14px, 1.25vw, 20px); }

html, body.slides-page {
  height: 100%;
  background: var(--paper);
  color: var(--text);
  font-family: var(--display);
  overflow: hidden;
}

/* ---------- reveal.js integration ---------- */
.reveal-viewport { background: var(--paper); }
.reveal { font-family: var(--display); color: var(--text); }
.reveal .slides { text-align: left; }

.reveal .slides > section {
  display: none;
  position: absolute;
  inset: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw 10vh;
  background: var(--paper);
}
.reveal .slides > section.present { display: flex; }

.slide-inner {
  width: 100%;
  max-width: 1180px;
  animation: rise 0.45s ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-inner { animation: none; }
  .modal-card { animation: none !important; }
}

/* Progress bar: reveal's element, moved to the top with the build->maintain gradient */
.reveal .progress {
  position: fixed;
  top: 0; bottom: auto; left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 10;
}
.reveal .progress span {
  background: linear-gradient(90deg, var(--build), var(--maintain));
  height: 100%;
}

/* Controls: reveal's chevrons, restyled as the deck's bordered nav buttons */
.reveal-viewport { --r-controls-spacing: 1.2rem; }
.reveal .controls {
  color: var(--maintain-text);
  font-size: 9px;
}
.reveal .controls .controls-arrow {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.reveal .controls .enabled { opacity: 1; }
.reveal .controls .enabled:hover .controls-arrow { border-color: var(--maintain); }
.reveal .controls .controls-arrow:before,
.reveal .controls .controls-arrow:after { height: 0.4em; }

/* Slide number, aligned with the controls */
.reveal .slide-number {
  background: transparent;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  right: 8.6rem;
  bottom: 2.1rem;
}
.reveal .slide-number a { text-decoration: none; color: inherit; }
.reveal .slide-number-delimiter { margin: 0 0.35em; }

.brand-mark {
  position: fixed;
  bottom: 1.5rem;
  left: 1.8rem;
  z-index: 10;
}
.brand-mark img { height: 26px; display: block; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow.build { color: var(--build-text); }
.eyebrow.maintain { color: var(--maintain-text); }

.reveal h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--text);
  text-transform: none;
}
.reveal h1 .accent,
.reveal h2 .accent { color: var(--maintain); }
.reveal h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1.2rem;
  color: var(--text);
  text-transform: none;
}
.lede {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 44em;
}
.lede strong { color: var(--text); font-weight: 600; }

/* ---------- title slide ---------- */
.title-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 820px) {
  .title-cols { grid-template-columns: 1fr; gap: 2.4rem; }
}
.title-logos {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2.2rem;
}
.title-logos .sep { width: 1px; height: 34px; background: var(--line); }
.title-sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--muted);
  line-height: 1.55;
  max-width: 30em;
}
.title-meta {
  margin-top: 2.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
}
.flow-step {
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--line);
  background: var(--card);
}
.flow-step.build { border-top: 4px solid var(--build); }
.flow-step.maintain { border-top: 4px solid var(--maintain); }
.flow-step .flow-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.flow-step.build .flow-label { color: var(--build-text); }
.flow-step.maintain .flow-label { color: var(--maintain-text); }
.flow-step .flow-name { font-weight: 650; font-size: 1.25rem; letter-spacing: -0.01em; }
.flow-step .flow-desc { color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-top: 0.35rem; }
.flow-arrow {
  text-align: center;
  color: var(--maintain);
  font-size: 1.5rem;
  line-height: 1;
}

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1rem; margin-top: 1.6rem; }
.grid.two { grid-template-columns: 1fr 1fr; }
.grid.four { grid-template-columns: 1fr 1fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .grid.three { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
}

/* Credential panels (slide 2): mono kicker + title + supporting line */
.card.cred { border-top: 3px solid var(--maintain); }
.cred-figure {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maintain-text);
  margin-bottom: 0.7rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
}
.card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: none;
}
.card h3 .accent { color: var(--maintain-text); font-weight: 750; }
.card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}
.card p strong { color: var(--text); font-weight: 600; }

/* ---------- phases slide ---------- */
.phases {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.4rem;
  margin-top: 1.8rem;
  align-items: start;
}
@media (max-width: 820px) { .phases { grid-template-columns: 1fr; } }
.phase {
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.4rem 1.4rem 1.2rem;
}
.phase.build { border-top: 4px solid var(--build); }
.phase.maintain { border-top: 4px solid var(--maintain); }
.phase-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.phase.build .phase-label { color: var(--build-text); }
.phase.maintain .phase-label { color: var(--maintain-text); }
.phase h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 650;
  margin-bottom: 0.3rem;
  color: var(--text);
  text-transform: none;
}
.phase .phase-sub { color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1rem; }

.options { display: grid; gap: 0.5rem; }
.option {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 0.95rem;
  text-align: left;
  font-family: inherit;
  color: inherit;
  width: 100%;
}
.phase.build .option { border-left: 3px solid var(--build); }
.phase.maintain .option { border-left: 3px solid var(--maintain); }
.option .name { font-weight: 650; font-size: 1.02rem; }
.option .desc { color: var(--muted); font-size: 0.92rem; line-height: 1.45; margin-top: 0.15rem; }
.option .desc strong { color: var(--text); font-weight: 600; }
button.option { cursor: pointer; position: relative; padding-right: 2.4rem; }
button.option::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--maintain-text);
}
button.option:hover, button.option:focus-visible {
  border-color: var(--maintain);
  outline: none;
}
button.option:focus-visible { box-shadow: 0 0 0 2px var(--maintain-dim); }

/* ---------- NeverBlink slide ---------- */
/* Section-scoped brand takeover: NeverBlink purple replaces the deck orange */
.nb-logo { height: 46px; width: auto; display: block; margin-bottom: 1.3rem; }
section.nb .accent { color: var(--nb); }
section.nb .card.cred { border-top-color: var(--nb); }
section.nb .cred-figure { color: var(--nb-text); }
section.nb .nb-number { color: var(--nb); }
section.nb .footnote a { color: var(--nb-text); }

.nb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
  padding: 0 0.3rem;
}
@media (max-width: 720px) { .nb-stats { grid-template-columns: 1fr 1fr; } }
.nb-number { margin-bottom: 0.4rem; }
.nb-number {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--maintain);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}
.nb-label {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
  max-width: 13em;
}

/* ---------- packages slide ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
  align-items: stretch;
}
@media (max-width: 900px) { .packages { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .packages { grid-template-columns: 1fr; } }

.pkg {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--maintain);
  border-radius: 12px;
  padding: 1.3rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
}
.pkg-tier {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maintain-text);
  margin-bottom: 0.55rem;
}
.pkg-name {
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}
.pkg-for {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.9rem;
}
.pkg-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}
.pkg-list li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text);
}
.pkg-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  color: var(--maintain);
}
.pkg-list li.carry { color: var(--muted); font-weight: 600; }
.pkg-list li.carry::before { content: "\2937"; }
.pkg-price {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.pkg-price strong { color: var(--maintain-text); font-weight: 700; font-size: 0.88rem; }
.pkg-note {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

/* ---------- modal ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 26, 25, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
  z-index: 50;
}
.modal-backdrop[hidden] { display: none; }
.modal-card {
  background: var(--paper);
  border-radius: 14px;
  border: 1px solid var(--line);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.2rem 2.4rem;
  position: relative;
  animation: rise 0.3s ease both;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.2rem; height: 2.2rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}
.modal-close:hover { border-color: var(--maintain); }
.modal-card .eyebrow { margin-bottom: 1rem; }
.modal-card h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  color: var(--text);
  text-transform: none;
}
.modal-logos {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0.8rem 0 0.4rem;
}

/* ---------- fact list ---------- */
.facts { display: grid; gap: 0.8rem; margin-top: 1.4rem; max-width: 46em; }
.fact {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.9rem;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}
.fact strong { color: var(--text); font-weight: 600; }
.fact .dot { color: var(--maintain); font-family: var(--mono); }
.fact .dot.blue { color: var(--build); }

.footnote {
  margin-top: 1.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footnote a { color: var(--build-text); text-decoration: none; }

/* ---------- closing slide ---------- */
.logo-wall-kicker {
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-items: center;
  margin: 1.4rem 0 2rem;
}
@media (max-width: 720px) { .logo-wall { grid-template-columns: 1fr 1fr; } }
.logo-wall img {
  height: 34px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.78;
}
/* Per-logo height overrides: intrinsic boxes differ wildly (full-bleed wordmarks
   vs. padded lockups), so normalize by perceived letter/mark height instead. */
.logo-wall img[alt="Riskified"] { height: 25px; }
.logo-wall img[alt="Hawk"] { height: 26px; }
.logo-wall img[alt="NICE"] { height: 28px; }
.logo-wall img[alt="eBay"] { height: 42px; }
.logo-wall img[alt="Check Point"] { height: 44px; }
.logo-wall img[alt="Akamai"] { height: 38px; }
.logo-wall img[alt="Integrity360"] { height: 36px; }
.logo-wall img[alt="Alamy"] { height: 38px; }
.logo-wall-more {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.cta-band {
  margin-top: 1.4rem;
  background: var(--maintain-dim);
  border: 1px solid rgba(242, 145, 32, 0.35);
  border-radius: 12px;
  padding: 1.3rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.cta-band .cta-text { font-size: 1.05rem; line-height: 1.5; max-width: 38em; }
.cta-band .cta-text strong { font-weight: 650; }
.cta-band a {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--build-text);
  text-decoration: none;
  white-space: nowrap;
}
