:root {
  --bg: #120d09;
  --bg-soft: #1a130f;
  --panel: rgba(33, 24, 18, 0.9);
  --panel-strong: #251d17;
  --card: rgba(28, 20, 15, 0.84);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3efe8;
  --muted: #d7c4a8;
  --amber: #d9a35f;
  --amber-strong: #f1c27b;
  --bean: #7a4d33;
  --olive: #7d8b6a;
  --sand: #f2e5d0;
  --shadow: rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(217, 163, 95, 0.14), transparent 30%),
    radial-gradient(circle at bottom right, rgba(125, 139, 106, 0.14), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #0d0907 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

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

img[src="/images/coffee-hero-illustration.svg"] {
  width: 100%;
  height: auto;
}

p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

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

h1, h2, h3, h4 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 6.2rem);
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.page-shell {
  width: min(var(--content-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(22, 17, 14, 0.75);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 18px;
  z-index: 20;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(217, 163, 95, 0.5);
  background: rgba(31, 22, 18, 0.85);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--amber-strong);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--amber-strong), var(--amber));
  color: #1d130d;
  box-shadow: 0 16px 30px rgba(217, 163, 95, 0.22);
}

.button-secondary,
.button-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
  padding: 80px 0 28px;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber-strong);
}

.lede {
  max-width: 640px;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin: 2rem 0 2.4rem;
  flex-wrap: wrap;
}

.hero-metrics {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
}

.hero-metrics li {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.hero-metrics strong {
  display: block;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 4px;
}

.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.visual-card {
  width: min(100%, 560px);
  background: linear-gradient(180deg, rgba(47, 34, 26, 0.8), rgba(20, 16, 13, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.25);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 20px 0 40px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}

.feature-kicker {
  color: var(--amber-strong);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.feature-item h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  margin-top: 0.7rem;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 18px 0 22px;
}

.text-link {
  color: var(--amber-strong);
  font-weight: 600;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-card {
  background: linear-gradient(180deg, rgba(26, 20, 15, 0.95), rgba(18, 13, 9, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.blog-card.featured {
  background: linear-gradient(180deg, rgba(55, 38, 24, 0.9), rgba(19, 14, 10, 0.96));
}

.card-badge {
  display: inline-block;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  background: rgba(217, 163, 95, 0.13);
  color: var(--amber-strong);
  border: 1px solid rgba(217, 163, 95, 0.3);
}

.blog-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.8rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1.1rem;
  padding-top: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.blog-card a {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--amber-strong);
  font-weight: 700;
}

.about-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-top: 54px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.quote-card {
  align-self: center;
  background: linear-gradient(180deg, rgba(217, 163, 95, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(217, 163, 95, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
}

.quote-card p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 0.8rem;
}

.quote-card span {
  color: var(--amber-strong);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 34px 0 6px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 48px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.content-page,
.article-page {
  padding-top: 56px;
}

.page-hero.small {
  max-width: 760px;
  margin-bottom: 18px;
}

.archive-grid {
  margin-top: 20px;
}

.archive-item h3 a {
  color: var(--text);
}

.article-card {
  background: rgba(22, 17, 13, 0.86);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: clamp(20px, 3vw, 42px);
}

.article-header {
  max-width: 860px;
  margin: 0 auto 24px;
}

.article-meta {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-hero-image {
  margin: 24px auto 30px;
  max-width: 920px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
}

.article-body h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.9rem;
}

.article-body blockquote {
  margin: 2.2rem 0;
  padding: 1rem 1.2rem 1rem 1.5rem;
  border-left: 3px solid var(--amber);
  background: rgba(217, 163, 95, 0.08);
  color: var(--text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.key-takeaways {
  margin-top: 2.5rem;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.key-takeaways h3 {
  margin-bottom: 0.8rem;
}

.key-takeaways ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.key-takeaways li + li {
  margin-top: 0.6rem;
}

@media (max-width: 960px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 26px;
  }

  .hero,
  .feature-strip,
  .post-grid,
  .about-panel {
    grid-template-columns: 1fr;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(var(--content-width), calc(100% - 18px));
  }

  .topbar {
    padding: 14px 14px;
  }

  .hero {
    padding-top: 52px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
