/* ============================================
   Bitter Bitter — Ultra-Dark Chocolate Brand
   Colors: near-black bg, warm cream text,
   oxblood accent
   ============================================ */

/* --- Reset & Base --- */

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: #F0ECE3;
  background-color: #111111;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Focus --- */

:focus-visible {
  outline: 2px solid #5A1A1A;
  outline-offset: 3px;
}

/* --- Typography --- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  color: #F0ECE3;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #C9A96E;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout Utilities --- */

.section {
  padding: 4rem 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
}

/* --- Dividers --- */

.divider {
  border: none;
  border-top: 1px solid rgba(240, 236, 227, 0.1);
  max-width: 56rem;
  margin: 0 auto;
}

.divider-light {
  border: none;
  border-top: 1px solid rgba(240, 236, 227, 0.06);
  margin: 0;
}

/* ============================================
   Header & Navigation
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #111111;
  border-bottom: 1px solid rgba(240, 236, 227, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}

.nav-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #F0ECE3;
  text-transform: none;
}

.nav-brand:hover {
  color: #F0ECE3;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(240, 236, 227, 0.6);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #F0ECE3;
}

/* ============================================
   Hero
   ============================================ */

.hero {
  padding: 6rem 1.25rem 5rem;
  max-width: 56rem;
  margin: 0 auto;
}

.hero-inner {
  max-width: 44rem;
}

.hero-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #F0ECE3;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(240, 236, 227, 0.55);
  max-width: 36rem;
  font-weight: 400;
}

/* ============================================
   The Bars — Product Section
   ============================================ */

.bars-section .section-heading {
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: #F0ECE3;
}

.section-intro {
  font-size: 1rem;
  color: rgba(240, 236, 227, 0.5);
  margin-bottom: 3rem;
  max-width: 38rem;
}

.bars-grid {
  display: flex;
  flex-direction: column;
}

.bar-card {
  padding: 2rem 0;
}

.bar-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.bar-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #F0ECE3;
}

.bar-cacao {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5A1A1A;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bar-note {
  font-size: 0.8125rem;
  color: rgba(240, 236, 227, 0.4);
  letter-spacing: 0.03em;
  margin-bottom: 0.625rem;
  font-weight: 400;
}

.bar-desc {
  font-size: 0.9375rem;
  color: rgba(240, 236, 227, 0.7);
  line-height: 1.65;
  max-width: 40rem;
}

/* ============================================
   Philosophy
   ============================================ */

.philosophy-text {
  max-width: 40rem;
}

.philosophy-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 236, 227, 0.7);
  margin-bottom: 1.5rem;
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   Testimonials / Stories
   ============================================ */

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 1rem;
}

.testimonial {
  border-left: 2px solid #5A1A1A;
  padding-left: 1.5rem;
  max-width: 38rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(240, 236, 227, 0.75);
  font-style: normal;
  margin-bottom: 0.75rem;
}

.testimonial-attr {
  font-size: 0.8125rem;
  color: rgba(240, 236, 227, 0.35);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ============================================
   Find Us
   ============================================ */

.find-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(240, 236, 227, 0.65);
  max-width: 40rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  text-align: center;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.cta-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(240, 236, 227, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.cta-button {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #F0ECE3;
  background-color: #5A1A1A;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cta-button:hover {
  background-color: #6E2222;
  color: #F0ECE3;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
  border-top: 1px solid rgba(240, 236, 227, 0.08);
  padding: 2.5rem 1.25rem;
}

.footer-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #F0ECE3;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: rgba(240, 236, 227, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #F0ECE3;
}

.footer-rule {
  border-top: 1px solid rgba(240, 236, 227, 0.06);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(240, 236, 227, 0.3);
}

.footer-credit {
  font-size: 0.8125rem;
  color: rgba(240, 236, 227, 0.3);
}

.footer-credit a {
  color: rgba(240, 236, 227, 0.45);
  text-decoration: underline;
  text-decoration-color: rgba(240, 236, 227, 0.15);
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: #F0ECE3;
  text-decoration-color: rgba(240, 236, 227, 0.4);
}

/* ============================================
   Responsive — 640px+
   ============================================ */

@media (min-width: 640px) {
  .section {
    padding: 5rem 2rem;
  }

  .nav {
    padding: 1.25rem 2rem;
  }

  .hero {
    padding: 8rem 2rem 6rem;
  }

  .bar-card {
    padding: 2.25rem 0;
  }

  .testimonials-grid {
    gap: 3rem;
  }

  .testimonial {
    padding-left: 2rem;
  }

  .footer-inner {
    padding: 0;
  }

  .site-footer {
    padding: 2.5rem 2rem;
  }
}

/* ============================================
   Responsive — 900px+
   ============================================ */

@media (min-width: 900px) {
  .section {
    padding: 6rem 2rem;
  }

  .hero {
    padding: 10rem 2rem 7rem;
  }

  .nav-links {
    gap: 2.25rem;
  }

  .bar-card {
    padding: 2.5rem 0;
  }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .testimonial {
    padding-left: 1.25rem;
  }

  .cta-section {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }
}

/* Mobile nav fix — hide cramming link list on phones (brand stays) */
@media (max-width: 639px) {
  .nav-links { display: none; }
}
