:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --ink: #2b241d;
  --muted: #6e5b49;
  --accent: #a3522b;
  --accent-dark: #7b3b1f;
  --cream: #f1e7dc;
  --sand: #e6d6c5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: #fdfaf6;
  padding: 28px 22px;
  border-right: 1px solid #e9ddd0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.ad-label {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 10px;
  background: var(--cream);
  border-radius: 6px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--sand);
  color: var(--accent-dark);
}

.sidebar-note {
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
}

main {
  flex: 1;
}

.section {
  padding: 48px 7vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section.tight {
  padding-top: 28px;
}

.hero {
  position: relative;
  color: #fff7f0;
  background-color: #4a3426;
  background-image: url("https://images.unsplash.com/photo-1509042239860-f550ce710b93?w=1400&q=80");
  background-size: cover;
  background-position: center;
  min-height: 420px;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 10, 0.55);
}

.hero-content {
  position: relative;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn.outline {
  background: transparent;
  border: 1px solid #fff;
}

.split {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.split.reverse {
  flex-direction: row-reverse;
}

.split > div {
  flex: 1 1 280px;
}

.image-frame {
  background: #d8c6b5;
  border-radius: 16px;
  overflow: hidden;
}

.cards {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.card {
  flex: 1 1 220px;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(42, 28, 16, 0.08);
}

.card-link {
  font-weight: 600;
  color: var(--accent-dark);
  transition: color 0.2s ease;
}

.card-link:hover,
.card-link:focus {
  color: var(--accent);
}

.layered {
  background: #fff;
  margin: -36px 7vw 0;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(52, 32, 18, 0.14);
}

.bg-roastery {
  background-color: #473225;
  background-image: url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff7f0;
  position: relative;
}

.bg-roastery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 16, 10, 0.55);
}

.bg-roastery > * {
  position: relative;
}

.cta-banner {
  background: var(--sand);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d5c4b4;
  font-size: 15px;
  font-family: inherit;
  background: #fffaf5;
}

.sticky-cta {
  position: fixed;
  right: 26px;
  bottom: 26px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(36, 22, 12, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

.sticky-cta:hover,
.sticky-cta:focus {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

footer {
  padding: 36px 7vw 48px;
  background: #fdfaf6;
  border-top: 1px solid #eaded2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(28, 20, 12, 0.2);
  max-width: 320px;
  z-index: 30;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.pill {
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .sidebar-note {
    width: 100%;
  }
}
