:root {
  --paper: #fff8ec;
  --cream: #fffaf2;
  --olive: #3d4222;
  --olive-soft: #6f7845;
  --terracotta: #c85a35;
  --coffee: #2f2a17;
  --muted: #675a45;
  --line: rgba(74, 57, 35, 0.2);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1318px, calc(100vw - 72px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--coffee);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.35;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: absolute;
  inset: 25px 49px auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--olive);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 18px rgba(255, 250, 242, 0.7);
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 36px);
  color: #fff5e4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(36, 27, 17, 0.55);
}

.primary-nav a {
  position: relative;
  padding: 6px 0;
}

.primary-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 337px;
  padding: 74px 49px 43px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.98) 0%, rgba(255, 248, 236, 0.82) 31%, rgba(255, 248, 236, 0.32) 55%, rgba(255, 248, 236, 0.02) 78%),
    linear-gradient(180deg, rgba(255, 248, 236, 0) 75%, var(--paper) 100%);
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 66%;
}

.hero-media .hero-reference {
  right: 0;
  left: auto;
  width: 69%;
  object-position: center;
}

.hero-content {
  width: min(760px, 100%);
}

.hero h1,
.section-heading h2,
.story-copy h2,
.today-panel h2 {
  margin: 0;
  color: var(--olive);
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 {
  display: block;
  width: max-content;
  font-size: clamp(60px, 6.55vw, 94px);
  line-height: 0.92;
  transform: scaleX(0.86);
  transform-origin: left center;
  white-space: nowrap;
}

.hero p {
  max-width: 450px;
  margin: 13px 0 0;
  color: var(--coffee);
  font-size: clamp(17px, 1.45vw, 20px);
  font-weight: 800;
  line-height: 1.16;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 17px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 41px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button svg {
  width: 17px;
  height: 17px;
  margin-left: 17px;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(49, 37, 22, 0.15);
}

.button-primary {
  background: var(--olive);
  color: var(--cream);
}

.button-light {
  border-color: rgba(47, 42, 23, 0.55);
  background: rgba(255, 250, 242, 0.68);
  color: var(--coffee);
}

.button-accent {
  background: var(--terracotta);
  color: var(--cream);
}

.section-flavors {
  padding: 7px 0 0;
  background: var(--paper);
}

.section-heading {
  position: relative;
  width: var(--container);
  margin: 0 auto 12px;
  text-align: center;
}

.section-heading h2,
.story-copy h2,
.today-panel h2 {
  font-size: clamp(31px, 2.8vw, 39px);
  line-height: 0.96;
}

.story-copy h2 {
  font-size: clamp(29px, 2.45vw, 35px);
}

.section-heading::after,
.story-copy h2::after,
.today-panel .mini-ornament {
  display: block;
  width: 104px;
  height: 14px;
  margin: 6px auto 0;
  background:
    radial-gradient(ellipse at center, rgba(90, 101, 53, 0.45) 0 28%, transparent 30%) 50% 50% / 13px 6px repeat-x;
  content: "";
  opacity: 0.8;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.6vw, 54px);
  width: var(--container);
  margin: 0 auto;
}

.flavor-card {
  min-width: 0;
}

.flavor-card img {
  width: 100%;
  height: 94px;
  border-radius: 4px;
  object-fit: cover;
}

.flavor-card h3 {
  margin: 7px 0 1px;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
}

.flavor-card p {
  max-width: 275px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.17;
}

.card-arrow {
  display: inline-block;
  margin-top: 3px;
  color: var(--coffee);
  font-size: 20px;
  line-height: 1;
}

.story-strip {
  display: grid;
  grid-template-columns: 23.7% 39% 37.3%;
  height: 140px;
  min-height: 140px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(216, 172, 113, 0.56), rgba(255, 248, 236, 0.98) 46%, rgba(240, 219, 181, 0.78));
}

.story-photo img,
.story-sketch img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.story-photo img {
  object-position: center;
}

.story-sketch {
  display: grid;
  align-items: center;
  justify-items: center;
  padding-right: 58px;
}

.story-sketch img {
  width: min(290px, 82%);
  height: 130px;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.9;
}

.story-copy {
  align-self: center;
  padding: 7px clamp(20px, 4.5vw, 66px);
}

.story-copy h2::after {
  margin: 6px auto 9px;
}

.story-copy p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 10.8px;
  line-height: 1.35;
}

.story-copy p + p {
  margin-top: 3px;
}

.today-social {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 155px;
  min-height: 155px;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid rgba(91, 72, 42, 0.08);
  border-bottom: 1px solid rgba(91, 72, 42, 0.12);
}

.today-panel,
.social-panel {
  min-width: 0;
  padding: 7px 36px 6px;
}

.today-panel {
  text-align: center;
}

.today-panel h2 {
  font-size: clamp(25px, 2.05vw, 31px);
}

.today-panel .mini-ornament {
  margin-top: 4px;
}

.category-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 5px;
}

.category-icons a {
  display: grid;
  min-height: 48px;
  place-items: center;
  gap: 3px;
  padding: 0 6px;
  border-right: 1px solid rgba(91, 72, 42, 0.16);
  color: var(--coffee);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.category-icons a:last-child {
  border-right: 0;
}

.category-icons svg {
  width: 28px;
  height: 28px;
  color: var(--coffee);
  stroke-width: 1.45;
}

.menu-button {
  min-width: 128px;
  min-height: 25px;
  margin-top: 1px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 11px;
}

.menu-button svg {
  width: 13px;
  height: 13px;
  margin-left: 10px;
}

.social-panel {
  display: grid;
  justify-items: center;
  align-content: center;
  border-left: 1px solid rgba(91, 72, 42, 0.13);
  text-align: center;
}

.social-panel h2 {
  margin: 0;
  color: var(--coffee);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1;
}

.social-panel h2 span {
  color: #d65b38;
  font-family: var(--sans);
}

.social-panel p {
  margin: 2px 0 7px;
  color: var(--muted);
  font-size: 11px;
}

.social-panel img {
  width: min(505px, 94%);
  height: 92px;
  border-radius: 3px;
  object-fit: cover;
}

.social-panel a {
  justify-self: end;
  margin-top: 4px;
  margin-right: max(10px, 7%);
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 800;
}

.contact-strip {
  display: grid;
  grid-template-columns: 33% 1fr 165px;
  min-height: 86px;
  background: #fff6e7;
}

.contact-map {
  min-width: 0;
  overflow: hidden;
}

.contact-map img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.contact-details {
  display: grid;
  grid-template-columns: 1.12fr 0.9fr 1fr 1.2fr;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.contact-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  padding: 0 19px;
  border-right: 1px solid rgba(91, 72, 42, 0.18);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.contact-item svg {
  width: 23px;
  height: 23px;
  color: var(--coffee);
}

.signature {
  align-self: center;
  margin: 0;
  padding-right: 23px;
  color: var(--olive-soft);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
}

@media (max-width: 980px) {
  :root {
    --container: min(100% - 28px, 720px);
  }

  .site-header {
    position: fixed;
    inset: 12px 12px auto;
    padding: 10px 12px;
    border: 1px solid rgba(255, 250, 242, 0.72);
    border-radius: 6px;
    background: rgba(255, 250, 242, 0.88);
    box-shadow: 0 12px 32px rgba(52, 38, 21, 0.15);
    backdrop-filter: blur(14px);
  }

  .brand {
    font-size: 22px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 36px;
    padding: 0 9px;
    border: 1px solid rgba(47, 42, 23, 0.2);
    border-radius: 5px;
    background: transparent;
    color: var(--coffee);
    font: 900 11px/1 var(--sans);
    text-transform: uppercase;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 14px;
    height: 2px;
    background: currentColor;
  }

  .primary-nav {
    position: fixed;
    inset: 68px 12px auto;
    display: grid;
    gap: 0;
    padding: 8px;
    border: 1px solid rgba(74, 57, 35, 0.16);
    border-radius: 6px;
    background: var(--cream);
    color: var(--coffee);
    box-shadow: 0 18px 44px rgba(52, 38, 21, 0.18);
    opacity: 0;
    pointer-events: none;
    text-shadow: none;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(74, 57, 35, 0.1);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: 620px;
    padding: 102px 18px 48px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 248, 236, 0.98) 0%, rgba(255, 248, 236, 0.9) 45%, rgba(255, 248, 236, 0.22) 74%, var(--paper) 100%);
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero h1 {
    font-size: clamp(56px, 15vw, 82px);
    width: auto;
    transform: none;
    white-space: normal;
  }

  .hero p {
    font-size: 18px;
  }

  .flavor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .story-strip,
  .today-social,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .story-photo img {
    height: 220px;
  }

  .story-copy {
    padding: 30px 20px;
    text-align: center;
  }

  .story-copy p {
    margin-right: auto;
    margin-left: auto;
  }

  .story-sketch {
    padding: 0 0 24px;
  }

  .today-panel,
  .social-panel {
    padding: 28px 18px;
  }

  .category-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 10px;
  }

  .category-icons a:nth-child(3n) {
    border-right: 0;
  }

  .contact-map img {
    height: 170px;
  }

  .contact-details {
    grid-template-columns: 1fr 1fr;
  }

  .contact-item {
    min-height: 72px;
  }

  .signature {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .flavor-card img {
    height: 150px;
  }

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

  .category-icons,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .category-icons a {
    border-right: 0;
    border-bottom: 1px solid rgba(91, 72, 42, 0.14);
  }

  .contact-item {
    border-right: 0;
    border-bottom: 1px solid rgba(91, 72, 42, 0.14);
  }
}
