:root {
  --cream: #f4eddf;
  --paper: #fffaf0;
  --coffee: #332019;
  --rust: #bd5735;
  --sage: #849276;
  --line: rgba(51, 32, 25, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background: var(--cream);
  color: var(--coffee);
  font-family: "DM Sans", sans-serif;
}

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

.nav {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 237, 223, 0.88);
  backdrop-filter: blur(14px);
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
}

.brand span {
  color: var(--rust);
}

.nav nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav nav a {
  position: relative;
}

.nav nav a::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rust);
  content: "";
  transition: width 0.25s ease;
}

.nav nav a:hover::after {
  width: 100%;
}

.nav-order {
  justify-self: end;
  padding: 10px 18px;
  border: 1px solid var(--coffee);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 7vw;
  padding: 130px 7vw 70px;
}

.eyebrow,
.section-label {
  color: var(--rust);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 22px 0 28px;
  font-family: "Playfair Display", serif;
  font-size: clamp(56px, 7vw, 108px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--rust);
  font-weight: 600;
}

.hero-description {
  max-width: 570px;
  color: rgba(51, 32, 25, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.primary {
  background: var(--coffee);
  color: var(--paper);
}

.text-link {
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  display: inline-block;
  margin-left: 8px;
}

.hero-art {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 260px 260px 30px 30px;
  background: var(--sage);
}

.sun {
  position: absolute;
  top: 13%;
  left: 14%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #e7b768;
}

.cup {
  position: absolute;
  z-index: 4;
  bottom: 120px;
  left: 50%;
  width: 260px;
  height: 210px;
  transform: translateX(-50%);
  border-radius: 18px 18px 90px 90px;
  background: var(--paper);
  box-shadow: inset -18px -16px 0 rgba(51, 32, 25, 0.08);
}

.coffee {
  position: absolute;
  top: 11px;
  left: 14px;
  width: 232px;
  height: 38px;
  border-radius: 50%;
  background: #4a291e;
}

.cup-handle {
  position: absolute;
  z-index: -1;
  top: 58px;
  right: -68px;
  width: 100px;
  height: 100px;
  border: 24px solid var(--paper);
  border-radius: 50%;
}

.saucer {
  position: absolute;
  z-index: 3;
  bottom: 93px;
  left: 50%;
  width: 360px;
  height: 65px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #e8ded0;
}

.steam {
  position: absolute;
  z-index: 5;
  bottom: 335px;
  width: 4px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 250, 240, 0.7);
}

.steam-one {
  left: 44%;
}

.steam-two {
  left: 58%;
  height: 90px;
}

.bean {
  position: absolute;
  width: 58px;
  height: 78px;
  transform: rotate(35deg);
  border-radius: 50%;
  background: #5c3426;
}

.bean::after {
  position: absolute;
  top: 5px;
  left: 27px;
  width: 3px;
  height: 68px;
  transform: rotate(8deg);
  border-radius: 50%;
  background: #bb8064;
  content: "";
}

.bean-one {
  top: 24%;
  right: 13%;
}

.bean-two {
  right: 8%;
  bottom: 18%;
  transform: rotate(82deg) scale(0.7);
}

.art-note {
  position: absolute;
  bottom: 38px;
  left: 42px;
  color: var(--paper);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  padding: 110px 7vw;
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9vw;
  margin-top: 55px;
}

.story h2,
.section-heading h2,
.visit h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(44px, 5vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.story-grid > div > p {
  max-width: 600px;
  color: rgba(51, 32, 25, 0.72);
  font-size: 18px;
  line-height: 1.8;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 55px;
}

.stats div {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.stats strong {
  font-family: "Playfair Display", serif;
  font-size: 36px;
}

.stats span {
  margin-top: 5px;
  color: rgba(51, 32, 25, 0.6);
  font-size: 12px;
}

.menu {
  background: var(--coffee);
  color: var(--paper);
}

.menu .section-label {
  color: #e7b768;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin: 50px 0 60px;
}

.section-heading p {
  max-width: 350px;
  color: rgba(255, 250, 240, 0.62);
  line-height: 1.7;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.menu-card {
  position: relative;
  min-height: 470px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.04);
}

.menu-card.featured {
  background: var(--rust);
}

.card-number {
  color: rgba(255, 250, 240, 0.5);
  font-size: 12px;
}

.badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--coffee);
  font-size: 11px;
  font-weight: 600;
}

.drink {
  position: relative;
  width: 150px;
  height: 180px;
  margin: 55px auto 45px;
  border-radius: 12px 12px 55px 55px;
  background: #e7d2b9;
  box-shadow: inset 0 -55px 0 #9d5c3d;
}

.drink::before {
  position: absolute;
  top: -10px;
  left: 8px;
  width: calc(100% - 16px);
  height: 24px;
  border-radius: 50%;
  background: #604033;
  content: "";
}

.filter {
  height: 160px;
  border-radius: 8px 8px 34px 34px;
  background: #c7aa8c;
  box-shadow: inset 0 -105px 0 #563227;
}

.cold {
  height: 190px;
  border-radius: 8px;
  background: rgba(225, 238, 231, 0.5);
  box-shadow: inset 0 -135px 0 rgba(83, 52, 39, 0.9);
}

.menu-card h3 {
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
  font-size: 26px;
}

.menu-card p {
  max-width: 260px;
  color: rgba(255, 250, 240, 0.62);
  font-size: 14px;
  line-height: 1.6;
}

.menu-card strong {
  position: absolute;
  right: 28px;
  bottom: 29px;
  color: #e7b768;
}

.featured strong {
  color: var(--paper);
}

.visit {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  background: #d9c8ab;
}

.visit h2 {
  margin-top: 20px;
}

.visit-details {
  display: flex;
  gap: 70px;
}

.visit-details p {
  line-height: 1.8;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 7vw;
  background: var(--cream);
  color: rgba(51, 32, 25, 0.65);
  font-size: 13px;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-art {
    min-height: 560px;
  }

  .story-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .visit {
    align-items: start;
    flex-direction: column;
  }

  .visit-details {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 540px) {
  .hero h1 {
    font-size: 52px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 470px;
  }

  .cup {
    width: 210px;
    height: 170px;
  }

  .coffee {
    width: 182px;
  }

  .saucer {
    width: 290px;
  }

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