:root {
  --ink: #18211d;
  --muted: #607069;
  --cream: #fbf3e5;
  --foam: #fffaf1;
  --coffee: #5a3726;
  --coffee-dark: #2f1d16;
  --sage: #7d9b7e;
  --harbor: #2f6f73;
  --gold: #d7a64b;
  --line: rgba(24, 33, 29, 0.14);
  --shadow: 0 24px 70px rgba(47, 29, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 241, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(24, 33, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--coffee-dark);
  color: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta {
  padding: 0 18px;
  background: var(--ink);
  color: var(--foam);
}

.nav-toggle {
  display: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 79px);
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 7vw, 96px);
  padding: clamp(56px, 9vw, 118px) clamp(20px, 5vw, 64px) 42px;
  background:
    radial-gradient(circle at 78% 18%, rgba(215, 166, 75, 0.22), transparent 34%),
    linear-gradient(135deg, #fffaf1 0%, #f7ead4 58%, #e8d4b5 100%);
}

.hero h1,
.section-heading h2,
.story-copy h2,
.order-panel h2 {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.96;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(54px, 8vw, 112px);
}

.hero p {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  border: 0;
  padding: 0 24px;
  cursor: pointer;
}

.button.primary {
  background: var(--harbor);
  color: white;
  box-shadow: 0 16px 36px rgba(47, 111, 115, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--ink);
}

.hero-card {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.55), transparent 58%);
  box-shadow: var(--shadow);
}

.cup {
  position: relative;
  width: min(58vw, 250px);
  height: 174px;
  border-radius: 0 0 76px 76px;
  background: #fbfbf6;
  box-shadow: inset 0 -18px 0 rgba(24, 33, 29, 0.06), 0 28px 42px rgba(47, 29, 22, 0.22);
}

.cup::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -56px;
  width: 82px;
  height: 82px;
  border: 18px solid #fbfbf6;
  border-left: 0;
  border-radius: 0 50% 50% 0;
}

.coffee {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 24px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 32%, #8d5f3c, var(--coffee-dark) 68%);
}

.saucer {
  width: 330px;
  height: 34px;
  margin-top: -128px;
  border-radius: 50%;
  background: rgba(251, 251, 246, 0.8);
  box-shadow: 0 18px 30px rgba(47, 29, 22, 0.12);
}

.steam {
  position: absolute;
  top: 96px;
  width: 28px;
  height: 96px;
  border-radius: 999px;
  border-left: 4px solid rgba(47, 111, 115, 0.36);
  animation: floatSteam 3.8s ease-in-out infinite;
}

.steam-one {
  left: 43%;
}

.steam-two {
  left: 54%;
  animation-delay: 800ms;
}

.feature-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  gap: 6px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 16px 40px rgba(24, 33, 29, 0.1);
}

.feature-note strong {
  font-size: 14px;
}

.feature-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.quick-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--ink);
  color: var(--foam);
}

.quick-info div {
  display: grid;
  gap: 6px;
  min-height: 118px;
  align-content: center;
  padding: 24px clamp(20px, 5vw, 64px);
  border-right: 1px solid rgba(255, 250, 241, 0.16);
}

.quick-info div:last-child {
  border-right: 0;
}

.quick-info span {
  color: rgba(255, 250, 241, 0.7);
}

.section {
  padding: clamp(72px, 10vw, 124px) clamp(20px, 5vw, 64px);
}

.section-heading {
  display: grid;
  max-width: 760px;
  gap: 18px;
}

.section-heading h2,
.story-copy h2,
.order-panel h2 {
  font-size: clamp(38px, 5vw, 68px);
}

.section-heading p,
.story-copy p,
.order-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

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

.menu-item {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(24, 33, 29, 0.06);
}

.menu-item h3 {
  margin: 58px 0 12px;
  font-size: 24px;
}

.menu-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.price {
  display: inline-flex;
  color: var(--harbor);
  font-weight: 800;
}

.story-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  padding: clamp(72px, 10vw, 124px) clamp(20px, 5vw, 64px);
  background: #eaf0e6;
}

.story-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(47, 111, 115, 0.22), rgba(215, 166, 75, 0.2)),
    #f7ead4;
}

.bean {
  position: absolute;
  width: 138px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(90deg, #3b241a, #7c4b2f);
  box-shadow: inset 16px 0 0 rgba(255, 255, 255, 0.08), 0 28px 46px rgba(47, 29, 22, 0.22);
  transform: rotate(28deg);
}

.bean::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 12px;
  border-radius: 50%;
  background: rgba(47, 29, 22, 0.46);
  transform: translateX(-50%) rotate(-8deg);
}

.bean-one {
  top: 46px;
  left: 19%;
}

.bean-two {
  right: 15%;
  bottom: 36px;
  transform: rotate(-22deg) scale(1.05);
}

.bean-three {
  top: 52%;
  left: 44%;
  transform: rotate(58deg) scale(0.74);
}

.story-copy {
  display: grid;
  gap: 22px;
}

.story-copy ul {
  display: grid;
  gap: 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.story-copy li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.story-copy li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 42px;
}

.map-card,
.hours-card {
  min-height: 330px;
  border-radius: 8px;
}

.map-card {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 250, 241, 0.58) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255, 250, 241, 0.58) 50%, transparent 51%),
    #9bb9a4;
  background-size: 92px 92px;
}

.map-card p {
  position: absolute;
  right: 26px;
  bottom: 26px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.9);
  font-weight: 800;
  line-height: 1.5;
}

.map-pin {
  width: 42px;
  height: 42px;
  border: 12px solid var(--coffee-dark);
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  transform: rotate(-45deg);
}

.hours-card {
  padding: 28px;
  background: var(--coffee-dark);
  color: var(--foam);
}

.hours-card h3 {
  margin: 0 0 24px;
  font-size: 28px;
}

.hours-card dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

.hours-card div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
}

.hours-card dd {
  margin: 0;
  color: rgba(255, 250, 241, 0.76);
  text-align: right;
}

.order-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  margin: 0 clamp(20px, 5vw, 64px) clamp(72px, 10vw, 124px);
  padding: clamp(32px, 6vw, 64px);
  border-radius: 8px;
  background: var(--ink);
  color: var(--foam);
}

.order-panel p {
  color: rgba(255, 250, 241, 0.72);
}

.order-form {
  display: grid;
  gap: 16px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.order-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  color: var(--foam);
  padding: 0 14px;
  font: inherit;
}

.order-form option {
  color: var(--ink);
}

.order-status {
  min-height: 24px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

@keyframes floatSteam {
  0%, 100% {
    opacity: 0.15;
    transform: translateY(18px) scaleY(0.92);
  }
  50% {
    opacity: 0.58;
    transform: translateY(-8px) scaleY(1.08);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    display: none;
    width: min(260px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--foam);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero,
  .story-band,
  .order-panel,
  .visit-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    min-height: 430px;
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    padding: 44px 18px 28px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-card {
    min-height: 360px;
  }

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

  .quick-info div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 250, 241, 0.16);
  }

  .section,
  .story-band {
    padding-inline: 18px;
  }

  .section-heading h2,
  .story-copy h2,
  .order-panel h2 {
    font-size: 38px;
  }

  .menu-item {
    min-height: 220px;
  }

  .story-media {
    min-height: 320px;
  }

  .hours-card div,
  .site-footer {
    flex-direction: column;
  }

  .hours-card dd {
    text-align: left;
  }

  .order-panel {
    margin-inline: 18px;
    padding: 28px 18px;
  }
}
