/**
 * ParNotFar pitch deck (deck.parnotfar.com)
 * Uses the same palette and patterns as ../css/site.css (sage field, hero gradient, ink bar, ivory panels).
 */

/* Override global body from site.css so deck pages are explicitly themed */
body.deck-shell,
body.deck-slide-page {
  margin: 0;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Outline hub: same canvas rhythm as marketing hero (ink → sage) */
body.deck-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--color-text-on-field);
  background: linear-gradient(
    168deg,
    var(--color-field-ink-soft) 0%,
    var(--color-field-ink-mid) 38%,
    var(--color-field-sage-deep) 100%
  );
}

/* Match .site-header */
.deck-shell__bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(26, 34, 30, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-line-on-field);
}

.deck-shell__bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0.875rem clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.deck-shell__brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-white-pure);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.deck-shell__brand:hover {
  color: var(--color-text-on-field);
  text-decoration: none;
}

.deck-shell__meta {
  font-size: 0.75rem;
  color: var(--color-text-on-field-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.deck-outline {
  flex: 1;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 4vw, 2rem) 4rem;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.deck-outline__header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.deck-outline__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-on-field-muted);
  margin: 0 0 0.75rem;
}

.deck-outline__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.12;
  color: var(--color-white-pure);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.deck-outline__lead {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-on-field-soft);
  margin: 0;
}

.deck-outline__bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.deck-outline__deck-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-on-field-soft);
  text-decoration: none;
}

.deck-outline__deck-link:hover {
  color: var(--color-white-pure);
  text-decoration: none;
}

.deck-outline__inline-link {
  color: var(--color-sage-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.deck-outline__inline-link:hover {
  color: var(--color-white-pure);
}

/* Ivory panel: same idea as .section--panel + .card on the marketing site */
.deck-outline__panel {
  background: var(--color-panel-ivory);
  color: var(--color-charcoal);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line-on-panel);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0;
  max-width: 48rem;
}

.deck-outline__panel--suite {
  padding: 1.25rem clamp(1rem, 3vw, 1.5rem) 1.35rem;
  margin-bottom: 1.25rem;
}

.deck-outline__suite-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--color-field-ink);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.deck-outline__suite-lead {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-charcoal-muted);
  margin: 0 0 1rem;
}

.deck-outline__suite-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.deck-outline__suite-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-line-on-panel);
}

.deck-outline__suite-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.deck-outline__suite-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-field-ink);
}

.deck-outline__suite-desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-charcoal-muted);
}

.deck-outline__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.deck-outline__item {
  border-bottom: 1px solid var(--color-line-on-panel);
}

.deck-outline__item:first-child {
  border-top: none;
}

.deck-outline__item:last-child {
  border-bottom: none;
}

.deck-outline__link {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem 1.25rem;
  align-items: baseline;
  padding: 1.1rem clamp(1rem, 3vw, 1.5rem);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s var(--ease-out);
}

.deck-outline__link:hover {
  background: var(--color-panel-cream);
}

.deck-outline__link:hover .deck-outline__slide-title {
  color: var(--color-field-ink);
}

.deck-outline__num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--color-charcoal-muted);
}

.deck-outline__body {
  min-width: 0;
}

.deck-outline__slide-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--color-field-ink);
  margin: 0 0 0.35rem;
  transition: color 0.15s var(--ease-out);
}

.deck-outline__purpose {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-charcoal-muted);
  margin: 0;
}

/* Slide pages: same hero gradient as marketing */
body.deck-slide-page {
  min-height: 100vh;
  color: var(--color-text-on-field);
  background: linear-gradient(
    168deg,
    var(--color-field-ink-soft) 0%,
    var(--color-field-ink-mid) 38%,
    var(--color-field-sage-deep) 100%
  );
}

.deck-slide {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 3.5rem);
  box-sizing: border-box;
  max-width: var(--content-max);
  margin: 0 auto;
}

.deck-slide__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-line-on-field);
}

.deck-slide__nav a {
  color: var(--color-text-on-field-soft);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.deck-slide__nav a:hover {
  color: var(--color-white-pure);
  text-decoration: none;
}

.deck-slide__num {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-on-field-muted);
}

.deck-slide__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 44rem;
}

.deck-slide__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  color: var(--color-white-pure);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

/* Placeholder reads like a white card on the field (same as .card on site) */
.deck-slide__placeholder {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-charcoal-muted);
  margin: 0;
  padding: 1.25rem 1.5rem;
  background: var(--color-white-pure);
  border: 1px solid var(--color-line-on-panel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.deck-slide__bullets {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-on-field-soft);
}

.deck-slide__bullets li {
  margin-bottom: 0.5rem;
}
