/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
}

.site-logo:hover { color: var(--color-accent-dark); }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-accent-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: var(--space-xs);
  cursor: pointer;
  color: var(--color-text);
}

/* Hero */
.hero {
  padding-block: var(--space-3xl) var(--space-2xl);
  background: linear-gradient(160deg, var(--section-pink) 0%, var(--section-purple) 100%);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}

.hero__title {
  max-width: 18ch;
  margin-bottom: var(--space-md);
}

.hero__tagline {
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  max-width: 42ch;
  margin-bottom: var(--space-xl);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--color-accent-dark);
  color: #fff;
}

.btn--primary:hover {
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: #fff;
  color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
}

.btn--secondary:hover { color: var(--color-accent-dark); }

/* Section header */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header__number {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.section-header__intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 50ch;
}

/* Team cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--section-purple);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--color-accent-dark);
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* Funnel / problem narrowing */
.funnel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-block: var(--space-xl);
}

.funnel__step {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 600px;
}

.funnel__step:nth-child(1) { max-width: 700px; border-color: #ef5350; }
.funnel__step:nth-child(2) { max-width: 580px; border-color: #ff9800; }
.funnel__step:nth-child(3) { max-width: 460px; border-color: #ffc107; }
.funnel__step:nth-child(4) { max-width: 340px; border-color: #66bb6a; }
.funnel__step:nth-child(5) { max-width: 280px; border-color: var(--color-accent-dark); }

.funnel__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

/* Sticky notes */
.sticky-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

.sticky-note {
  padding: var(--space-lg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
  font-size: var(--text-sm);
}

.sticky-note:nth-child(2) { transform: rotate(1.5deg); }
.sticky-note:nth-child(3) { transform: rotate(-0.5deg); }

.sticky-note--purple { background: var(--note-purple); }
.sticky-note--orange { background: var(--note-orange); }
.sticky-note--teal { background: var(--note-teal); }

.sticky-note strong {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: var(--text-base);
}

/* Callouts */
.callout {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  background: #fff;
  margin-block: var(--space-lg);
}

.callout--question {
  background: #fff;
  border-left-color: var(--color-accent-dark);
  font-size: var(--text-lg);
  font-style: italic;
}

.callout--insight {
  background: var(--section-purple);
  border-left-color: var(--note-purple);
}

/* Cards */
.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.preview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.preview-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--section-purple);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  overflow: hidden;
}

.preview-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-card__link {
  margin-top: auto;
  padding-top: var(--space-md);
}

/* Decision cards */
.decision-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.decision-card__because {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
}

.decision-card__tradeoff {
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px dashed var(--color-border);
  font-size: var(--text-sm);
}

/* Figures & image placeholders */
.figure {
  margin-block: var(--space-xl);
}

.figure__frame {
  background: #fff;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.figure__frame img {
  width: 100%;
  height: auto;
}

.preview-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure__placeholder {
  padding: var(--space-2xl);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

.figure__caption {
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-align: center;
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
  margin-block: var(--space-lg);
}

.data-table th,
.data-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  background: var(--section-purple);
  font-weight: 600;
}

.data-table tr.row--success td { background: var(--color-success-bg); }
.data-table tr.row--warning td { background: var(--color-warning-bg); }
.data-table tr.row--danger td { background: var(--color-danger-bg); }

/* Competitor cards */
.competitor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

.competitor-card {
  background: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.competitor-card h4 { color: var(--color-accent-dark); }

/* Affinity lists */
.affinity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  margin-block: var(--space-xl);
}

.affinity-column {
  background: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.affinity-column h4 {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

/* Citations */
.references-list {
  list-style: none;
  padding: 0;
}

.references-list li {
  padding-left: 2rem;
  text-indent: -2rem;
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
}

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

/* Breadcrumb */
.breadcrumb {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--color-accent-dark); }

/* Footer */
.site-footer {
  padding-block: var(--space-2xl);
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
}

.site-footer a {
  color: #fff;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-lg);
}

/* Placeholder badge */
.placeholder-badge {
  display: inline-block;
  background: var(--section-orange);
  color: var(--color-warning);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-left: var(--space-xs);
  vertical-align: middle;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open { display: flex; }

  .two-col { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; justify-content: center; }
}
