:root {
  --espresso: #2b1a13;
  --espresso-deep: #1b100c;
  --espresso-soft: #4d3326;
  --almond: #dec6a6;
  --almond-light: #ead8be;
  --terracotta: #b85f3f;
  --terracotta-dark: #8f4129;
  --cream: #fff7e8;
  --butter: #f6ead3;
  --olive: #4e5b38;
  --olive-dark: #313a23;
  --ink: #281c16;
  --muted: #7a6557;
  --line: rgba(43, 26, 19, 0.16);
  --shadow: 0 18px 45px rgba(43, 26, 19, 0.18);
  --soft-shadow: 0 12px 30px rgba(43, 26, 19, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--espresso);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--terracotta);
}

p {
  color: var(--muted);
}

.site-shell {
  background: var(--cream);
  overflow: hidden;
}

.container-narrow {
  max-width: 980px;
}

.section-padding {
  padding: 96px 0;
}

.section-padding-sm {
  padding: 68px 0;
}

.section-cream {
  background: var(--cream);
}

.section-almond {
  background: var(--almond-light);
}

.section-espresso {
  background: var(--espresso);
  color: var(--cream);
}

.section-espresso p,
.section-espresso .eyebrow {
  color: rgba(255, 247, 232, 0.78);
}

.eyebrow {
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.display-title,
.section-title,
.page-title,
.card-title,
.menu-item h3,
.journal-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.display-title {
  color: var(--cream);
  font-size: clamp(3.2rem, 8vw, 7.5rem);
  line-height: 0.92;
  margin-bottom: 1.2rem;
}

.page-title {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.98;
}

.section-title {
  font-size: clamp(2.1rem, 5vw, 4.15rem);
  line-height: 1.02;
  color: var(--espresso);
}

.lead-copy {
  font-size: 1.08rem;
  max-width: 680px;
}

.text-cream {
  color: var(--cream);
}

.btn {
  border-radius: 999px;
  font-weight: 800;
  padding: 0.86rem 1.28rem;
  border-width: 1px;
}

.btn-primary-cafe {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
  box-shadow: 0 12px 24px rgba(184, 95, 63, 0.22);
}

.btn-primary-cafe:hover,
.btn-primary-cafe:focus {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--cream);
}

.btn-outline-cafe {
  border-color: rgba(255, 247, 232, 0.65);
  color: var(--cream);
}

.btn-outline-cafe:hover,
.btn-outline-cafe:focus {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--espresso);
}

.btn-olive {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--cream);
}

.btn-olive:hover,
.btn-olive:focus {
  background: var(--olive-dark);
  border-color: var(--olive-dark);
  color: var(--cream);
}

.navbar {
  padding: 1rem 0;
  transition: background-color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.navbar .navbar-brand {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.navbar .navbar-brand img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.navbar .nav-link {
  color: rgba(255, 247, 232, 0.82);
  font-size: 0.93rem;
  font-weight: 750;
  padding: 0.55rem 0.78rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--cream);
}

.navbar.scrolled,
.navbar.solid-nav {
  background: rgba(43, 26, 19, 0.96);
  box-shadow: 0 16px 30px rgba(27, 16, 12, 0.24);
  padding: 0.65rem 0;
}

.navbar-toggler {
  border-color: rgba(255, 247, 232, 0.32);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(255, 247, 232, 0.32);
}

.navbar-toggler-icon {
  filter: invert(1) sepia(0.2) saturate(0.6);
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(27, 16, 12, 0.88), rgba(43, 26, 19, 0.52), rgba(43, 26, 19, 0.2)),
    url("../img/hero.jpg") center / cover no-repeat;
  color: var(--cream);
  position: relative;
  display: flex;
  align-items: center;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(0deg, var(--cream), rgba(255, 247, 232, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding: 150px 0 130px;
}

.hero-subtitle {
  color: rgba(255, 247, 232, 0.88);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  max-width: 620px;
}

.hero-note {
  border-left: 3px solid var(--terracotta);
  color: rgba(255, 247, 232, 0.78);
  max-width: 460px;
  padding-left: 1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 4rem;
  align-items: center;
}

.editorial-kicker {
  background: var(--espresso);
  color: var(--cream);
  padding: 1.4rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.editorial-kicker p {
  color: rgba(255, 247, 232, 0.78);
  margin-bottom: 0;
}

.image-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--almond);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame.tall {
  min-height: 520px;
}

.image-frame.medium {
  min-height: 390px;
}

.image-frame.offset {
  transform: rotate(-1.5deg);
}

.image-frame.offset-right {
  transform: rotate(1.3deg);
}

.frame-label {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  right: 1.1rem;
  background: rgba(255, 247, 232, 0.9);
  border-radius: 8px;
  color: var(--espresso);
  font-family: Georgia, "Times New Roman", serif;
  padding: 0.85rem 1rem;
}

.offering-card,
.feature-card,
.testimonial-card,
.journal-card,
.policy-card,
.value-card,
.contact-card,
.menu-item,
.bakery-panel,
.timeline-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.offering-card {
  min-height: 100%;
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.offering-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--olive);
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.feature-card {
  overflow: hidden;
  height: 100%;
}

.feature-card img,
.journal-card img,
.bakery-panel img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.feature-body,
.journal-body,
.bakery-body {
  padding: 1.35rem;
}

.price {
  color: var(--terracotta);
  font-weight: 900;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 247, 232, 0.22);
  border-radius: 8px;
  overflow: hidden;
}

.process-step {
  padding: 2rem;
  border-right: 1px solid rgba(255, 247, 232, 0.2);
}

.process-step:last-child {
  border-right: 0;
}

.process-number {
  color: var(--almond);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.1rem;
  line-height: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(255, 247, 232, 0.08);
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 8px;
}

.stat-number {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.testimonial-card {
  padding: 1.5rem;
  min-height: 100%;
}

.quote-mark {
  color: var(--terracotta);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 0.7;
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(27, 16, 12, 0.93), rgba(43, 26, 19, 0.64)),
    url("../img/coffee-2.jpg") center / cover no-repeat;
  color: var(--cream);
  padding: 170px 0 95px;
}

.page-hero.bakery-hero {
  background:
    linear-gradient(90deg, rgba(27, 16, 12, 0.9), rgba(43, 26, 19, 0.45)),
    url("../img/bakery-1.jpg") center / cover no-repeat;
}

.page-hero.story-hero {
  background:
    linear-gradient(90deg, rgba(27, 16, 12, 0.9), rgba(43, 26, 19, 0.42)),
    url("../img/story-1.jpg") center / cover no-repeat;
}

.page-hero.journal-hero {
  background:
    linear-gradient(90deg, rgba(27, 16, 12, 0.9), rgba(43, 26, 19, 0.52)),
    url("../img/journal-1.jpg") center / cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(27, 16, 12, 0.9), rgba(43, 26, 19, 0.5)),
    url("../img/contact.jpg") center / cover no-repeat;
}

.page-hero.legal-hero {
  background: linear-gradient(135deg, var(--espresso-deep), var(--espresso-soft));
}

.menu-section {
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2rem;
}

.menu-section:first-child {
  border-top: 0;
  margin-top: 0;
}

.menu-item {
  padding: 1.2rem;
  height: 100%;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(78, 91, 56, 0.25);
  border-radius: 999px;
  color: var(--olive-dark);
  background: rgba(78, 91, 56, 0.1);
  font-size: 0.75rem;
  font-weight: 850;
  padding: 0.18rem 0.58rem;
}

.tag.terracotta {
  color: var(--terracotta-dark);
  border-color: rgba(184, 95, 63, 0.3);
  background: rgba(184, 95, 63, 0.12);
}

.bakery-panel {
  overflow: hidden;
  height: 100%;
}

.bakery-list {
  padding-left: 1.1rem;
  margin-bottom: 0;
  color: var(--muted);
}

.bakery-list li::marker {
  color: var(--terracotta);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 4rem;
  align-items: center;
}

.value-card {
  padding: 1.4rem;
  height: 100%;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(43, 26, 19, 0.18);
}

.timeline-card {
  padding: 1.35rem;
  position: relative;
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 5px rgba(184, 95, 63, 0.18);
}

.timeline-card.left::before {
  right: -38px;
}

.timeline-card.right::before {
  left: -38px;
}

.journal-card {
  overflow: hidden;
  height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.journal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.date-line {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-card {
  padding: 1.6rem;
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: rgba(43, 26, 19, 0.2);
  background-color: #fffaf0;
  color: var(--ink);
  padding: 0.82rem 0.92rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 0.2rem rgba(184, 95, 63, 0.18);
}

.form-label {
  font-weight: 800;
  color: var(--espresso);
}

.form-success {
  display: none;
  background: rgba(78, 91, 56, 0.12);
  border: 1px solid rgba(78, 91, 56, 0.25);
  border-radius: 8px;
  color: var(--olive-dark);
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  font-weight: 750;
}

.form-success.show {
  display: block;
}

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

.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.policy-card {
  padding: 1.55rem;
  margin-bottom: 1.1rem;
}

.site-footer {
  background: var(--espresso-deep);
  color: var(--cream);
  padding: 70px 0 26px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(255, 247, 232, 0.72);
}

.site-footer a:hover {
  color: var(--cream);
}

.footer-title {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 247, 232, 0.14);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  color: rgba(255, 247, 232, 0.66);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 1090;
  width: min(720px, calc(100% - 2rem));
  background: rgba(27, 16, 12, 0.97);
  color: var(--cream);
  border: 1px solid rgba(255, 247, 232, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  padding: 1rem;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  color: rgba(255, 247, 232, 0.78);
  margin: 0;
}

.cookie-banner a {
  color: var(--almond);
  text-decoration: underline;
  text-underline-offset: 0.18rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 {
  transition-delay: 90ms;
}

.stagger-2 {
  transition-delay: 180ms;
}

.stagger-3 {
  transition-delay: 270ms;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(43, 26, 19, 0.98);
    border: 1px solid rgba(255, 247, 232, 0.14);
    border-radius: 8px;
    margin-top: 0.85rem;
    padding: 0.7rem;
  }

  .section-padding {
    padding: 72px 0;
  }

  .intro-grid,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .image-frame.tall {
    min-height: 420px;
  }

  .process-strip,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(1),
  .process-step:nth-child(2) {
    border-bottom: 1px solid rgba(255, 247, 232, 0.2);
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 130px 0 105px;
  }

  .section-padding {
    padding: 58px 0;
  }

  .section-padding-sm {
    padding: 48px 0;
  }

  .page-hero {
    padding: 140px 0 70px;
  }

  .image-frame.tall,
  .image-frame.medium {
    min-height: 320px;
  }

  .process-strip,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 247, 232, 0.2);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

  .menu-item-header {
    flex-direction: column;
    gap: 0.3rem;
  }

  .timeline::before {
    left: 0.55rem;
  }

  .timeline-card {
    margin-left: 1.9rem;
  }

  .timeline-card.left::before,
  .timeline-card.right::before {
    left: -2.2rem;
    right: auto;
  }

  .cookie-banner .d-flex {
    align-items: stretch !important;
    flex-direction: column;
  }
}
