:root {
  --ink: #221a16;
  --coffee: #4f2f20;
  --espresso: #2a1812;
  --cream: #f7f1e7;
  --foam: #fffaf1;
  --sage: #8fa69a;
  --teal: #345b55;
  --copper: #bf7247;
  --line: rgba(34, 26, 22, 0.14);
  --shadow: 0 22px 70px rgba(42, 24, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--foam);
  background: linear-gradient(180deg, rgba(26, 16, 12, 0.72), rgba(26, 16, 12, 0));
}

.brand,
.main-nav,
.hero-actions,
.wholesale-list {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 250, 241, 0.5);
  border-radius: 50%;
  background: rgba(255, 250, 241, 0.12);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
}

.main-nav {
  gap: clamp(14px, 2.4vw, 34px);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.86;
}

.main-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 118px clamp(18px, 5vw, 72px) 74px;
  color: var(--foam);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/coffee-roastery-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(26, 16, 12, 0.84) 0%, rgba(26, 16, 12, 0.58) 42%, rgba(26, 16, 12, 0.16) 100%),
    linear-gradient(0deg, rgba(26, 16, 12, 0.55) 0%, rgba(26, 16, 12, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.35rem, 8vw, 8rem);
  max-width: 780px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.6vw, 5rem);
}

h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 250, 241, 0.38);
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 800;
}

.button-primary {
  color: var(--espresso);
  background: var(--foam);
}

.button-secondary {
  color: var(--foam);
  background: rgba(255, 250, 241, 0.1);
  backdrop-filter: blur(12px);
}

.section-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-band {
  padding: clamp(54px, 8vw, 96px) 0;
  background: var(--foam);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}

.intro-grid p:last-child,
.split-copy p,
.wholesale-copy p {
  margin-bottom: 0;
  color: rgba(34, 26, 22, 0.74);
  font-size: 1.08rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(56px, 8vw, 104px) 0;
}

.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.66);
  box-shadow: 0 16px 44px rgba(42, 24, 18, 0.08);
}

.feature-card p {
  margin-bottom: 0;
  color: rgba(34, 26, 22, 0.68);
}

.card-number {
  display: block;
  margin-bottom: 58px;
  color: var(--copper);
  font-weight: 800;
}

.split-section {
  padding: clamp(58px, 9vw, 116px) 0;
  background: var(--teal);
  color: var(--foam);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
}

.split-copy .eyebrow {
  color: rgba(255, 250, 241, 0.68);
}

.split-copy p {
  color: rgba(255, 250, 241, 0.78);
}

.stat-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.22);
  box-shadow: var(--shadow);
}

.stat-panel div {
  display: grid;
  gap: 6px;
  padding: 24px;
  background: rgba(255, 250, 241, 0.11);
}

.stat-panel strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.35rem;
  line-height: 1;
}

.stat-panel span {
  color: rgba(255, 250, 241, 0.74);
  font-weight: 700;
}

.wholesale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: clamp(60px, 8vw, 108px) 0;
}

.wholesale-list {
  flex-wrap: wrap;
  gap: 12px;
  align-content: center;
}

.wholesale-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 18px;
  background: var(--foam);
  color: var(--coffee);
  font-weight: 800;
}

.site-footer {
  padding: clamp(48px, 7vw, 84px) 0;
  color: var(--foam);
  background: var(--espresso);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  gap: 32px;
  align-items: end;
}

.site-footer h2 {
  margin: 0;
}

address {
  color: rgba(255, 250, 241, 0.76);
  font-style: normal;
  font-weight: 600;
}

address a {
  display: inline-block;
  margin-top: 12px;
  color: var(--foam);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .brand {
    max-width: 230px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 106px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(26, 16, 12, 0.86) 0%, rgba(26, 16, 12, 0.62) 66%, rgba(26, 16, 12, 0.3) 100%),
      linear-gradient(0deg, rgba(26, 16, 12, 0.56) 0%, rgba(26, 16, 12, 0) 52%);
  }

  .intro-grid,
  .feature-grid,
  .split-grid,
  .wholesale,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 34px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 16px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .hero {
    padding: 102px 18px 54px;
  }

  .button {
    width: 100%;
  }

  .section-shell {
    width: min(100% - 32px, 1160px);
  }
}
