/* Autonomy Brand Bible — Static Site Styles */
:root {
  --navy: #0A1628;
  --charcoal: #1E2A3A;
  --coral: #FF4F3B;
  --amber: #D4880F;
  --slate: #64748B;
  --light: #F1F5F9;
  --white: #FFFFFF;
  --gray: #94A3B8;
  --font-serif: 'IBM Plex Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--coral);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header h1 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.site-header h1 span { color: var(--coral); font-weight: 600; }
.site-header nav a {
  color: var(--gray);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}
.site-header nav a:hover { color: var(--white); }

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
}
.hero h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.hero .meta {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 1.5rem;
}

/* Section */
section {
  padding: 4rem 0;
}
section:nth-child(even) {
  background: var(--light);
}
section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
section h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  color: var(--charcoal);
  border-bottom: 2px solid var(--coral);
  padding-bottom: 0.3rem;
  display: inline-block;
}
section .section-intro {
  font-size: 1.05rem;
  color: var(--slate);
  margin-bottom: 2.5rem;
  max-width: 700px;
}
section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Image Grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.image-grid.three-col {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}
.image-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.image-card img {
  width: 100%;
  height: auto;
  display: block;
}
.image-card .caption {
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--slate);
}
.image-card .caption strong {
  display: block;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

/* Full-width image */
.full-image {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.full-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Direction tabs */
.direction-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.direction-tab {
  padding: 0.6rem 1.5rem;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  transition: all 0.2s;
}
.direction-tab:hover { border-color: var(--slate); }
.direction-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Evaluation box */
.eval-box {
  background: var(--white);
  border-left: 4px solid var(--coral);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.eval-box h4 {
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.eval-box ul {
  list-style: none;
  padding: 0;
}
.eval-box li {
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}
.eval-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}
.eval-box.strength li::before { background: #10B981; }
.eval-box.weakness li::before { background: var(--coral); }

/* Color swatches */
.swatch-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.swatch {
  width: 80px;
  text-align: center;
}
.swatch-color {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 0.4rem;
}
.swatch-label {
  font-size: 0.75rem;
  color: var(--slate);
  font-family: monospace;
}

/* Comparison */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}
.comparison-side {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.comparison-side .label {
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.comparison-side.before .label {
  background: var(--slate);
  color: var(--white);
}
.comparison-side.after .label {
  background: var(--coral);
  color: var(--white);
}
.comparison-side img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--gray);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 { font-size: 2rem; }
  .image-grid { grid-template-columns: 1fr; }
  .comparison-grid { grid-template-columns: 1fr; }
  section h2 { font-size: 1.6rem; }
  .site-header nav { display: none; }
}

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.image-card img { cursor: zoom-in; }
