:root {
  --ink: #29251f;
  --cream: #f5eee3;
  --paper: #fbf8f2;
  --clay: #b66245;
  --sage: #74806a;
  --line: #d8cdbc;
  --white: #fffdf8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 "DM Sans",
    sans-serif;
}
body.no-scroll {
  overflow: hidden;
}
button,
a,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
.site-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.94);
  position: relative;
  z-index: 5;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-height: 44px;
  font:
    600 21px/1 "Fraunces",
    serif;
}
.brand em {
  font-weight: 500;
  color: var(--clay);
}
.flame {
  width: 19px;
  height: 27px;
  background: var(--clay);
  border-radius: 80% 20% 65% 35%;
  transform: rotate(12deg);
  display: inline-block;
  position: relative;
}
.flame:after {
  content: "";
  position: absolute;
  background: #f0b663;
  width: 7px;
  height: 12px;
  left: 5px;
  bottom: 4px;
  border-radius: 80% 20% 65% 35%;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-header nav > a {
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
}
.bag-button {
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 30px;
  padding: 12px 18px;
  cursor: pointer;
}
.bag-button span {
  display: inline-grid;
  place-items: center;
  margin-left: 7px;
  background: var(--cream);
  color: var(--ink);
  border-radius: 50%;
  width: 23px;
  height: 23px;
  font-size: 12px;
}
.bag-button span.has-items {
  background: #eab36f;
}
.hero {
  height: 620px;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}
.hero-copy {
  padding: 64px 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 600;
  color: var(--clay);
  margin: 0 0 18px;
}
.hero h1,
.section-heading h2,
.story-copy h2 {
  font:
    500 clamp(48px, 5.8vw, 86px) / 0.98 "Fraunces",
    serif;
  letter-spacing: -0.04em;
  margin: 0;
}
.hero h1 i {
  color: var(--clay);
  font-weight: 500;
}
.intro {
  font-size: 17px;
  max-width: 560px;
  color: #655e54;
  margin: 24px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.primary-button,
.submit-button {
  border: 0;
  background: var(--ink);
  color: white;
  text-decoration: none;
  padding: 16px 22px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  cursor: pointer;
}
.microcopy {
  color: #766d61;
  font-size: 13px;
}
.hero-image-wrap {
  position: relative;
  overflow: hidden;
  margin: 24px 3vw 24px 0;
  border-radius: 120px 120px 12px 12px;
  min-height: 0;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-note {
  position: absolute;
  right: 22px;
  bottom: 20px;
  background: var(--paper);
  padding: 11px 17px;
  border-radius: 22px;
  font:
    italic 16px "Fraunces",
    serif;
  transform: rotate(-3deg);
}
.promise-strip {
  min-height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10vw;
  border-bottom: 1px solid var(--line);
  font:
    500 15px "Fraunces",
    serif;
}
.promise-strip b {
  font: 500 11px "DM Sans";
  color: var(--clay);
  margin-right: 10px;
}
.shop-section {
  padding: 72px 5vw;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
}
.section-heading h2 {
  font-size: clamp(40px, 5vw, 66px);
}
.section-heading > p {
  max-width: 410px;
  color: #6a6258;
  margin: 0 0 8px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 18px;
}
.product-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: #e7dfd2;
}
.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.025);
}
.image-2 img,
.image-5 img {
  object-position: center 62%;
}
.image-3 img,
.image-6 img {
  object-position: center 42%;
}
.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--white);
  padding: 8px 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 2px 10px;
}
.product-info h3,
.cart-line h3 {
  font:
    500 23px "Fraunces",
    serif;
  margin: 0;
}
.product-info p,
.cart-line p {
  font-size: 13px;
  color: #766e63;
  margin: 3px 0 0;
}
.price {
  font:
    500 17px "Fraunces",
    serif;
}
.add-button {
  width: 100%;
  min-height: 47px;
  background: transparent;
  border: 1px solid #9d9385;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  cursor: pointer;
  transition: 0.2s;
}
.add-button:hover,
.add-button.added {
  background: var(--ink);
  color: white;
}
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #dad8ca;
  height: 560px;
  min-height: 0;
}
.story-image {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.story-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-copy {
  padding: 56px 7vw;
}
.story-copy h2 {
  font-size: clamp(42px, 4.7vw, 67px);
}
.story-copy ol {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}
.story-copy li {
  border-top: 1px solid rgba(41, 37, 31, 0.25);
  padding: 17px 0;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 20px;
}
.story-copy li b {
  font:
    500 18px "Fraunces",
    serif;
}
.story-copy li span,
.fine-print {
  font-size: 13px;
  color: #615e55;
}
.fine-print {
  max-width: 540px;
}
footer {
  padding: 28px 5vw;
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.3fr auto;
  gap: 20px;
  align-items: center;
  background: var(--ink);
  color: #eee7dc;
  font-size: 13px;
}
footer p {
  margin: 0;
}
.footer-brand {
  color: white;
}
footer a {
  color: #e5b196;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 16, 0.5);
  z-index: 19;
  backdrop-filter: blur(2px);
}
.cart {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(580px, 100%);
  background: var(--paper);
  transform: translateX(105%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.14);
}
.cart.open {
  transform: translateX(0);
}
.cart-header {
  padding: 28px 30px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header .eyebrow {
  margin-bottom: 3px;
}
.cart-header h2 {
  font:
    500 35px "Fraunces",
    serif;
  margin: 0;
}
.close-button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.cart-body {
  padding: 0 30px 36px;
  overflow: auto;
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line h3 {
  font-size: 20px;
}
.cart-line span {
  font-size: 12px;
  color: #766e63;
}
.quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  height: 40px;
}
.quantity button {
  width: 39px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 19px;
  cursor: pointer;
}
.quantity b {
  min-width: 25px;
  text-align: center;
  font-size: 13px;
}
.empty-cart,
.success-state {
  text-align: center;
  padding: 85px 25px;
}
.empty-flame {
  display: block;
  width: 30px;
  height: 42px;
  background: #d7c6b2;
  border-radius: 80% 20% 65% 35%;
  transform: rotate(12deg);
  margin: 0 auto 25px;
}
.empty-cart h3,
.success-state h3 {
  font:
    500 30px "Fraunces",
    serif;
  margin: 0;
}
.empty-cart p,
.success-state > p {
  color: #70685e;
}
.empty-cart button,
.success-state button {
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: 8px 2px;
  cursor: pointer;
}
.checkout-total {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  padding: 24px 0 5px;
}
.checkout-total b {
  font:
    500 25px "Fraunces",
    serif;
}
.payment-note {
  background: var(--cream);
  padding: 12px 14px;
  font-size: 12px;
  color: #665e54;
  margin: 12px 0 22px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 14px;
}
label span {
  font-weight: 400;
  color: #766e63;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #bfb4a5;
  background: var(--white);
  padding: 12px;
  margin-top: 6px;
  border-radius: 0;
  color: var(--ink);
  min-height: 47px;
}
textarea {
  resize: vertical;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.submit-button {
  width: 100%;
  margin-top: 5px;
  min-height: 54px;
}
.submit-button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-error {
  background: #f4ded6;
  color: #7d3528;
  padding: 11px 13px;
  font-size: 13px;
}
.success-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sage);
  color: white;
  font-size: 25px;
  margin: 0 auto 22px;
}
.success-state .eyebrow {
  margin-bottom: 10px;
}
.order-number {
  font-size: 13px !important;
}
.order-number b {
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #d8855f;
  outline-offset: 3px;
}
@media (max-width: 850px) {
  .site-header {
    height: 64px;
    padding: 0 20px;
  }
  .site-header nav > a {
    display: none;
  }
  .site-header nav {
    gap: 0;
  }
  .brand {
    font-size: 18px;
  }
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }
  .hero-copy {
    padding: 42px 20px 28px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .intro {
    font-size: 14px;
    margin: 18px 0;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .hero-image-wrap {
    height: 280px;
    margin: 0 16px 16px;
    border-radius: 64px 64px 8px 8px;
  }
  .promise-strip {
    gap: 20px;
    justify-content: space-around;
    padding: 12px;
    min-height: 64px;
  }
  .promise-strip span {
    display: flex;
    flex-direction: column;
  }
  .promise-strip b {
    margin: 0;
  }
  .shop-section {
    padding: 48px 16px;
  }
  .section-heading {
    display: block;
    margin-bottom: 24px;
  }
  .section-heading > p {
    margin-top: 17px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 12px;
  }
  .story-section {
    grid-template-columns: 1fr;
    height: auto;
  }
  .story-image {
    height: 240px;
    min-height: 0;
  }
  .story-copy {
    padding: 42px 20px;
  }
  .story-copy li {
    grid-template-columns: 1fr;
  }
  .story-copy li span {
    margin-top: -12px;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .footer-brand {
    margin-bottom: 6px;
  }
}
@media (max-width: 520px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero-image-wrap {
    height: 240px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }
  .product-image {
    aspect-ratio: 1.12;
  }
  .product-info {
    gap: 6px;
    padding: 9px 1px 8px;
  }
  .product-info h3 {
    font-size: 17px;
    line-height: 1.05;
  }
  .product-info p {
    font-size: 10px;
    line-height: 1.25;
  }
  .price {
    font-size: 14px;
  }
  .add-button {
    min-height: 44px;
    padding: 0 10px;
    font-size: 12px;
  }
  .cart-header {
    padding: 22px 20px;
  }
  .cart-body {
    padding: 0 20px 30px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .story-image {
    height: 200px;
    min-height: 0;
  }
  .microcopy {
    font-size: 12px;
  }
  .primary-button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .cart,
  .product-image img {
    transition: none;
  }
}
