/* ═══════════════════════════════════════════════════════════════
   BREWCOMPASS — MARKETING SITE STYLES
   Shared across: index.html, features.html, about.html
   ═══════════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════
   1. RESET & VARIABLES
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --cream:       #F9F7F4;
  --white:       #FFFFFF;
  --copper:      #B5632C;
  --copper-light:#E8C4A0;
  --copper-bg:   #FEF3E7;
  --navy:        #1B2D45;
  --navy-light:  #2E4A66;
  --text:        #1F2937;
  --text-mid:    #4B5563;
  --text-muted:  #6B7280;
  --border:      #E5E2DD;
  --font-head:   'Manrope', sans-serif;
  --font-body:   'Inter', sans-serif;
  --max-w:       1160px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --radius:      12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--copper); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }


/* ═══════════════════════════════════════════════
   2. UTILITIES
   ═══════════════════════════════════════════════ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 600px;
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-decoration: none;
}
.btn-primary {
  background: var(--copper);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(27, 45, 69, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  color: var(--navy);
}


/* ═══════════════════════════════════════════════
   3. ANIMATIONS
   ═══════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════
   4. NAVIGATION
   ═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(249, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--copper);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-mid);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--copper);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem !important;
}
.nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}


/* ═══════════════════════════════════════════════
   5. FOOTER
   ═══════════════════════════════════════════════ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--navy); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}


/* ═══════════════════════════════════════════════
   6. SHARED: BOTTOM CTA
   ═══════════════════════════════════════════════ */
.bottom-cta {
  text-align: center;
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.bottom-cta h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.bottom-cta p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 460px;
  margin: 0 auto 1.5rem;
}
.bottom-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE (index.html)
   ═══════════════════════════════════════════════════════════════ */

/* ── Landing Hero ─────────────────────────────── */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(181,99,44,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  animation: fadeUp 0.8s var(--ease) forwards;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--copper-bg);
  color: var(--copper);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--copper);
  border-radius: 50%;
}
.hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.hero h1 span {
  color: var(--copper);
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  animation: fadeUp 0.8s var(--ease) 0.15s forwards;
  opacity: 0;
}
.hero-mockup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.03);
  position: relative;
}
.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 1rem;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.mockup-dot:nth-child(1) { background: #FCA5A5; }
.mockup-dot:nth-child(2) { background: #FCD34D; }
.mockup-dot:nth-child(3) { background: #6EE7B7; }
.mockup-screen {
  background: var(--navy);
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ── Stats Bar ────────────────────────────────── */
.stats {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ── Intro / What Is ──────────────────────────── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-text { max-width: 520px; }
.intro-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.intro-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.intro-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s var(--ease);
}
.intro-card:hover {
  border-color: var(--copper-light);
  box-shadow: 0 8px 30px rgba(181,99,44,0.08);
  transform: translateY(-2px);
}
.intro-card-icon {
  width: 40px; height: 40px;
  background: var(--copper-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.intro-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.intro-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Landing Features ─────────────────────────── */
.features { background: var(--white); }
.features-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature-card:hover::after {
  transform: scaleX(1);
}
.feature-card:hover {
  border-color: var(--copper-light);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transform: translateY(-3px);
}
.feature-icon {
  width: 48px; height: 48px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  transition: all 0.3s;
}
.feature-card:hover .feature-icon {
  background: var(--copper-bg);
  border-color: var(--copper-light);
}
.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.feature-modules {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.module-tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--copper);
  background: var(--copper-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.features-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Pricing ──────────────────────────────────── */
.pricing {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(181,99,44,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.pricing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.pricing .section-label { color: var(--copper-light); }
.pricing .section-title { color: var(--white); }
.pricing-text p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  max-width: 460px;
}
.pricing-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.pricing-philosophy {
  list-style: none;
}
.pricing-philosophy li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}
.pricing-philosophy li:last-child { border: none; }
.pricing-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: rgba(181,99,44,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--copper-light);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ── Brewer Story (landing) ───────────────────── */
.story-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}
.story-portrait {
  background: var(--copper-bg);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: 1px solid var(--copper-light);
}
.story-text blockquote {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--copper);
}
.story-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.story-text .story-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--copper);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.story-text .story-link:hover { gap: 0.7rem; color: var(--navy); }
.story-text .story-link::after { content: '→'; transition: inherit; }

/* ── CTA / Beta Signup ────────────────────────── */
.cta {
  background: var(--cream);
  text-align: center;
}
.cta-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4rem 3rem;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
}
.cta-box .section-title { margin-bottom: 0.75rem; }
.cta-box .section-sub {
  margin: 0 auto 2rem;
  max-width: 460px;
}
.signup-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.signup-form input::placeholder { color: var(--text-muted); }
.signup-form input:focus { border-color: var(--copper); }
.signup-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}


/* ═══════════════════════════════════════════════════════════════
   FEATURES PAGE (features.html)
   ═══════════════════════════════════════════════════════════════ */

/* ── Page Hero ────────────────────────────────── */
.page-hero {
  padding: 8rem 0 3rem;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Jump Nav ─────────────────────────────────── */
.jump-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
  position: sticky;
  top: 72px;
  background: rgba(249, 247, 244, 0.95);
  backdrop-filter: blur(8px);
  z-index: 50;
}
.jump-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  background: var(--white);
}
.jump-link:hover {
  color: var(--copper);
  border-color: var(--copper-light);
  background: var(--copper-bg);
}

/* ── Module Groups ────────────────────────────── */
.module-group {
  padding: 4rem 0 2rem;
}
.group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.group-icon {
  width: 48px; height: 48px;
  background: var(--copper-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.group-header h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
}
.group-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ── Module Cards ─────────────────────────────── */
.modules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s var(--ease);
  position: relative;
}
.module-card:hover {
  border-color: var(--copper-light);
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  transform: translateY(-2px);
}
.module-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.module-icon {
  font-size: 1.3rem;
  width: 36px; height: 36px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.module-card:hover .module-icon {
  background: var(--copper-bg);
  border-color: var(--copper-light);
}
.module-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}
.module-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
}
.module-highlights {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.highlight-tag {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ── Screenshots ──────────────────────────────── */
.module-screenshot {
  margin-top: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
}
.module-screenshot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
}
.module-dual-screenshots {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dual-shot-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.dual-shot-wrap {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111;
}
.dual-shot-wrap img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top left;
}
.module-card.full-width {
  grid-column: 1 / -1;
}
.module-card.full-width .module-dual-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Screenshot click / hover ─────────────────── */
.module-screenshot img,
.dual-shot-wrap img {
  cursor: pointer;
  transition: opacity 0.2s;
}
.module-screenshot img:hover,
.dual-shot-wrap img:hover {
  opacity: 0.88;
}

/* ── Lightbox ─────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  cursor: pointer;
  padding: 2rem;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease);
  cursor: default;
}
.lightbox.active img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 1.25rem;
  border-radius: 100px;
  white-space: nowrap;
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE (about.html)
   ═══════════════════════════════════════════════════════════════ */

/* ── About Hero ───────────────────────────────── */
.about-hero {
  padding: 9rem 0 5rem;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.about-hero-photo {
  background: var(--copper-bg);
  border: 1px solid var(--copper-light);
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.about-hero-text h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.about-hero-text h1 span {
  color: var(--copper);
}
.about-hero-text .lead {
  font-size: 1.15rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 520px;
}

/* ── Story Sections ───────────────────────────── */
.story-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}
.story-narrow {
  max-width: 720px;
  margin: 0 auto;
}
.story-narrow h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.story-narrow p {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.story-narrow p:last-child {
  margin-bottom: 0;
}

/* ── Pull Quote ───────────────────────────────── */
.pull-quote {
  background: var(--white);
  border-left: 4px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem 2.5rem;
  margin: 2.5rem 0;
}
.pull-quote p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── Timeline ─────────────────────────────────── */
.timeline-section {
  background: var(--white);
}
.timeline-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.timeline-header h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.timeline-header p {
  font-size: 1rem;
  color: var(--text-muted);
}
.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  background: var(--copper);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--copper-light);
}
.timeline-year {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--copper);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.timeline-item h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Values ───────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.value-card:hover {
  border-color: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.value-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.value-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.value-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Landing */
  .hero-inner,
  .intro-grid,
  .pricing-inner,
  .story-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero { padding: 8rem 0 4rem; }
  .hero-visual { order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .story-portrait { aspect-ratio: 16/9; max-width: 400px; }

  /* Features */
  .modules-list { grid-template-columns: 1fr 1fr; }

  /* About */
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-hero-photo {
    max-width: 320px;
    aspect-ratio: 1;
  }
  .values-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .section { padding: 4rem 0; }

  /* Shared: mobile nav */
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  }

  /* Shared: footer */
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Landing */
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .signup-form { flex-direction: column; }
  .cta-box { padding: 3rem 1.5rem; }

  /* Features */
  .modules-list { grid-template-columns: 1fr; }
  .jump-nav { gap: 0.35rem; padding: 1rem 0; }
  .jump-link { font-size: 0.72rem; padding: 0.3rem 0.75rem; }
  .module-card.full-width .module-dual-screenshots {
    grid-template-columns: 1fr;
  }

  /* About */
  .values-grid { grid-template-columns: 1fr; }
  .pull-quote { padding: 1.5rem; }
  .timeline { padding-left: 2rem; }
  .timeline-item::before { left: -2rem; }
}
