:root {
  --ink: #1d1714;
  --muted: #675b52;
  --paper: #fffaf3;
  --band: #f4ede3;
  --charcoal: #242424;
  --ember: #c5461f;
  --ember-dark: #8f2d18;
  --sage: #47624a;
  --gold: #d99a35;
  --line: rgba(29, 23, 20, 0.16);
  --shadow: 0 18px 42px rgba(36, 28, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.94);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  text-decoration: none;
}

.brand-logo {
  width: 74px;
  height: auto;
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.2;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.social-links a:hover {
  color: #fff;
  border-color: var(--ember);
  background: var(--ember);
}

.header-call {
  justify-self: end;
}

.main-nav a,
.header-call,
.button {
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--ember);
}

.header-call,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 800;
}

.header-call,
.button.primary {
  color: #fff;
  background: var(--ember);
}

.header-call:hover,
.button.primary:hover {
  background: var(--ember-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(0, 0, 0, 0.24);
}

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  justify-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(90px, 13vw, 170px) clamp(18px, 5vw, 64px) clamp(36px, 7vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24, 19, 16, 0.9), rgba(24, 19, 16, 0.58) 56%, rgba(24, 19, 16, 0.2)),
    url("assets/hero-store-floor.jpg") center/cover;
}

.hero-copy {
  max-width: 760px;
  text-align: center;
}

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

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

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-text {
  margin-right: auto;
  margin-left: auto;
  max-width: 660px;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.service-areas {
  margin-top: 24px;
}

.service-areas h3 {
  margin-bottom: 12px;
}

.service-areas ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.hero-actions {
  justify-content: center;
}

.hero-panel {
  width: min(100%, 520px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: var(--shadow);
}

.hero-panel p:last-child,
.contact-details p:last-child {
  margin-bottom: 0;
}

.band {
  background: var(--band);
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.two-column,
.email-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
}

.intro p,
.section-heading p,
.contact p {
  color: var(--muted);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-small {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

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

.recipes-page h1 {
  color: var(--ink);
}

.recipe-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.recipe-index a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.recipe-index a:hover {
  color: #fff;
  border-color: var(--ember);
  background: var(--ember);
}

.recipe-list {
  display: grid;
  gap: 18px;
}

.recipe-card {
  scroll-margin-top: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 28px rgba(36, 28, 22, 0.08);
}

.recipe-card h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.recipe-card h3 {
  margin-top: 22px;
}

.recipe-card ul {
  margin: 0;
  padding-left: 22px;
}

.recipe-card li + li {
  margin-top: 5px;
}

.recipe-meta {
  color: var(--sage);
  font-weight: 800;
}

.product-card,
blockquote,
.signup-form,
.contact-form,
.contact-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(36, 28, 22, 0.08);
}

.product-card {
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
}

.product-photo {
  width: calc(100% + 48px);
  height: 190px;
  margin: -24px -24px 22px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.product-photo-lower {
  object-position: center 28%;
}

.product-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: calc(100% + 48px);
  margin: -24px -24px 22px;
  border-bottom: 1px solid var(--line);
}

.product-photo-pair .product-photo {
  width: 100%;
  height: 190px;
  margin: 0;
  border-bottom: 0;
}

.product-card p,
blockquote p {
  color: var(--muted);
}

.product-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.product-card li + li {
  margin-top: 5px;
}

.product-note {
  margin-top: 16px;
  color: var(--ember-dark) !important;
  font-weight: 900;
}

.classes .button.secondary,
.contact .button.secondary {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
}

.class-list span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  font-weight: 800;
}

blockquote {
  margin: 0;
  padding: 26px;
}

blockquote p {
  font-size: 1.02rem;
}

cite {
  display: block;
  color: var(--sage);
  font-style: normal;
  font-weight: 900;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.gallery img {
  height: clamp(220px, 32vw, 390px);
  object-fit: cover;
}

.signup-form {
  padding: 26px;
}

.signup-form label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.signup-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.signup-form input:focus {
  border-color: var(--ember);
  outline: 3px solid rgba(197, 70, 31, 0.16);
}

.signup-form .button {
  width: 100%;
  margin-top: 18px;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--ember-dark);
  font-weight: 800;
}

.mailchimp-field {
  position: absolute;
  left: -5000px;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-form,
.contact-details {
  padding: 26px;
}

.contact-form h3 {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ember);
  outline: 3px solid rgba(197, 70, 31, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.contact-details a {
  color: var(--ember-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 64px);
  color: #f8efe3;
  background: var(--charcoal);
}

.site-footer p {
  margin: 0;
}

.floating-signup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  color: #fff;
  background: var(--sage);
  box-shadow: 0 14px 32px rgba(20, 29, 21, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.floating-signup:hover {
  background: var(--ember);
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    grid-column: auto;
    grid-row: auto;
    overflow-x: auto;
  }

  .header-actions {
    width: 100%;
    justify-self: stretch;
    justify-content: space-between;
  }

  .header-call {
    justify-self: stretch;
    flex: 1 0 auto;
  }

  .hero,
  .two-column,
  .email-layout,
  .contact-layout,
  .product-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .hero-panel {
    max-width: 460px;
  }

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

@media (max-width: 560px) {
  .brand {
    width: 100%;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .social-links {
    justify-content: center;
  }

  .header-call {
    width: 100%;
  }

  .main-nav a {
    font-size: 0.95rem;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .floating-signup {
    right: 12px;
    bottom: 12px;
  }

  .site-footer p + p {
    margin-top: 10px;
  }
}
