:root {
  --ink: #283e30;
  --cream: #fcfaf4;
  --sage: #e4e9dc;
  --berry: #753e4c;
  --line: #d8dacd;
  --muted: #62705e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 5px;
}
img {
  max-width: 100%;
}
.announcement {
  background: var(--ink);
  color: #fcfaf4;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1.3px;
  padding: 9px 15px;
}
.site-header {
  max-width: 1320px;
  margin: auto;
  padding: 23px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font:
    25px Georgia,
    serif;
  letter-spacing: 1px;
}
.wordmark img {
  object-fit: contain;
}
.wordmark small {
  display: block;
  text-align: center;
  font: 9px Arial;
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 14px;
}
.site-header [aria-current] {
  text-decoration: underline;
  text-underline-offset: 7px;
}
.basket-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.count {
  background: var(--sage);
  border-radius: 50%;
  min-width: 24px;
  text-align: center;
  font-size: 11px;
}
.hero {
  max-width: 1320px;
  margin: auto;
  padding: 65px 7% 55px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 35px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 600;
  line-height: 1.6;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.1;
}
h1 {
  font-size: clamp(42px, 5.2vw, 72px);
  letter-spacing: -2px;
  margin: 23px 0;
}
h1 em {
  font-weight: 400;
  color: #637555;
}
h2 {
  font-size: clamp(31px, 3.3vw, 46px);
  letter-spacing: -1px;
  margin: 12px 0 24px;
}
h3 {
  font-size: 24px;
  margin: 8px 0 10px;
}
.hero-copy > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 28px;
}
.button {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: white;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 14px 24px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}
.button:hover {
  background: #3f5540;
  text-decoration: none;
}
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.hero-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 27px;
}
.tiny-flower {
  font-size: 26px;
  vertical-align: middle;
  margin-right: 8px;
}
.arch {
  position: relative;
  border-radius: 48% 48% 3px 3px;
  background: #e4e8d9;
  aspect-ratio: 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: radial-gradient(
    ellipse at 50% 60%,
    #f6f2df,
    transparent 65%
  );
}
.arch > img {
  width: 100%;
  transform: rotate(-9deg);
  filter: drop-shadow(0 14px 10px #414c2120);
}
.round-stamp {
  position: absolute;
  right: -10px;
  top: 18px;
  background: var(--cream);
  border: 1px solid #a4ad91;
  outline: 6px solid var(--cream);
  border-radius: 50%;
  width: 113px;
  height: 113px;
  text-align: center;
  padding: 16px 8px;
  font-size: 7px;
  letter-spacing: 1px;
  transform: rotate(12deg);
  line-height: 1.6;
}
.round-stamp b {
  font: italic 18px/1.1 Georgia;
  display: inline-block;
  margin: 4px 0;
  letter-spacing: 0;
}
.handwritten {
  text-align: center;
  font: italic 21px Georgia;
  transform: rotate(-4deg);
  margin: 19px 0 0;
}
.values-strip {
  border-block: 1px solid var(--line);
  display: flex;
  justify-content: center;
  gap: 7%;
  padding: 17px 5%;
  font-size: 11px;
  letter-spacing: 1px;
}
.values-strip b {
  font-weight: 400;
  color: #8c977c;
}
.section {
  max-width: 1200px;
  padding: 65px 4%;
  margin: auto;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h2 {
  font-size: 35px;
  margin-bottom: 0;
}
.text-link {
  font-size: 12px;
  border-bottom: 1px solid #7a886c;
  padding-bottom: 5px;
  display: inline-block;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-image {
  display: block;
}
.jar-scene {
  height: 290px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e9ecdf;
  overflow: hidden;
}
.jar-scene.gold {
  background: #f1e9d8;
}
.jar-scene.berry {
  background: #eee2e5;
}
.jar-scene.blue {
  background: #e2e9e9;
}
.jar {
  width: 135px;
  height: 188px;
  background: linear-gradient(
    90deg,
    #ac773e,
    #c9985d 20%,
    #ddb27b 52%,
    #bb874b 95%
  );
  border-radius: 15px 15px 22px 22px;
  position: relative;
  box-shadow: 9px 17px 15px #4a42251f;
  border: 1px solid #a17e43;
  transform: rotate(-5deg);
  z-index: 1;
}
.lid {
  position: absolute;
  left: -4px;
  right: -4px;
  top: -12px;
  height: 23px;
  border-radius: 7px 7px 3px 3px;
  background: repeating-linear-gradient(90deg, #263e31 0 2px, #3b503c 2px 4px);
  border-block: 3px solid #263e31;
}
.jar-label {
  background: #fcf8e9;
  position: absolute;
  inset: 28px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px;
}
.jar-label img {
  width: 58px;
  height: 35px;
  object-fit: contain;
}
.jar-brand {
  font: 12px Georgia;
}
.jar-sub {
  font-size: 5px;
  letter-spacing: 2px;
  margin: 3px 0 8px;
}
.jar-label strong {
  font: 15px/1.1 Georgia;
  max-width: 110px;
}
.jar-small {
  font-size: 4px;
  letter-spacing: 0.6px;
  margin-top: 10px;
}
.jar-nuts {
  position: absolute;
  width: 165px;
  bottom: 20px;
  right: 5px;
  z-index: 2;
}
.card-meta {
  padding: 17px 0;
}
.card-meta .eyebrow {
  font-size: 8px;
  color: var(--muted);
  margin: 0;
}
.card-meta > p:not(.eyebrow) {
  font-size: 13px;
}
.card-meta > p span {
  font-size: 11px;
  color: var(--muted);
}
.story-band {
  background: #e8ebdf;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 60px max(6%, calc((100vw - 1080px) / 2));
}
.story-band p:not(.eyebrow) {
  font-size: 14px;
  color: var(--muted);
  max-width: 420px;
}
.story-art img {
  width: 100%;
}
.closing {
  text-align: center;
  padding: 70px 20px 0;
  overflow: hidden;
}
.closing h2 {
  font-size: 43px;
}
.closing > img {
  display: block;
  width: 340px;
  margin: 35px auto -10px;
}
footer {
  background: var(--ink);
  color: var(--cream);
  padding: 45px 7% 20px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 35px;
  font-size: 11px;
}
footer a {
  display: block;
  margin: 8px 0;
}
.footer-brand {
  font: 30px Georgia;
}
.footer-brand small {
  font: 8px Arial;
  letter-spacing: 3px;
  display: block;
  margin-top: 8px;
}
footer p {
  opacity: 0.75;
}
.copyright {
  grid-column: 1/-1;
  border-top: 1px solid #ffffff26;
  padding-top: 18px;
  font-size: 10px;
}
.page-intro {
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding: 60px 20px 30px;
}
.page-intro h1 {
  font-size: 55px;
}
.page-intro p {
  color: var(--muted);
}
.sample-label {
  font-size: 11px !important;
  color: var(--muted);
}
.shop-grid {
  grid-template-columns: repeat(2, 1fr);
}
.shop-grid .jar-scene {
  height: 350px;
}
.shop-section {
  padding-top: 20px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  margin-top: 35px;
  align-items: start;
}
.product-detail > .jar-scene {
  height: 490px;
}
.product-detail .jar {
  transform: scale(1.55) rotate(-5deg);
}
.product-detail h1 {
  font-size: 43px;
}
.product-detail form {
  display: grid;
  gap: 10px;
  grid-template-columns: 100px 1fr;
  align-items: center;
  margin: 28px 0;
}
.product-detail form .button {
  grid-column: 1/-1;
  margin-top: 10px;
}
.product-detail label {
  font-size: 12px;
}
select,
input {
  background: var(--cream);
  border: 1px solid #a4ae98;
  color: var(--ink);
  padding: 10px;
  min-width: 0;
}
input[type="number"] {
  width: 80px;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
}
summary {
  cursor: pointer;
  font: 19px Georgia;
  line-height: 1.5;
}
details p {
  font-size: 14px;
  color: var(--muted);
}
.faq-list {
  max-width: 760px;
  margin: 10px auto 75px;
  padding: 0 24px;
}
.about-story {
  background: transparent;
}
.cart-section {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 45px;
  padding-top: 20px;
  min-height: 350px;
}
.cart-summary {
  background: var(--sage);
  padding: 28px;
  height: fit-content;
}
.cart-summary h2 {
  font-size: 28px;
}
.cart-summary p {
  font-size: 12px;
}
.cart-summary .button {
  width: 100%;
}
.subtotal {
  display: flex;
  justify-content: space-between;
  border-block: 1px solid #bbc5ad;
  padding: 18px 0;
}
.cart-row {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  flex-wrap: wrap;
}
.cart-row > div {
  flex: 1;
  min-width: 120px;
}
.cart-row a {
  font: 19px Georgia;
}
.cart-row p {
  font-size: 11px;
}
.cart-row strong {
  font-size: 13px;
}
.quantity-label {
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.quantity-label input {
  width: 65px;
  padding: 6px;
}
.remove-button {
  border: 0;
  background: none;
  color: var(--berry);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 25px;
  box-shadow: 0 5px 25px #0002;
  max-width: 90vw;
  width: max-content;
  z-index: 5;
  visibility: hidden;
}
.toast.visible {
  visibility: visible;
}
@media (min-width: 1500px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 16px;
    padding: 17px 6%;
  }
  .wordmark {
    font-size: 19px;
  }
  .wordmark img {
    width: 48px;
  }
  .wordmark small {
    font-size: 7px;
  }
  .site-header nav {
    order: 3;
    justify-content: center;
    width: 100%;
    gap: 38px;
    font-size: 13px;
  }
  .basket-link > span:not(.count) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 35px 7% 35px;
    gap: 32px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .hero-art {
    width: 90%;
    max-width: 420px;
    margin: auto;
  }
  .hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .values-strip {
    gap: 12px;
    justify-content: space-around;
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .values-strip b {
    display: none;
  }
  .section {
    padding: 42px 6%;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .jar-scene {
    height: 310px;
  }
  .story-band {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 7%;
  }
  .story-art {
    max-width: 400px;
    margin: auto;
  }
  .closing {
    padding-top: 45px;
  }
  .closing h2 {
    font-size: 37px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 35px 7% 20px;
  }
  .demo-note {
    grid-column: 1/-1;
  }
  .page-intro {
    padding-top: 35px;
  }
  .page-intro h1 {
    font-size: 43px;
  }
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .shop-grid .jar-scene {
    height: 240px;
  }
  .shop-grid .jar {
    transform: scale(0.85) rotate(-5deg);
  }
  .shop-grid .jar-nuts {
    width: 100px;
    bottom: 12px;
  }
  .shop-grid h3 {
    font-size: 22px;
  }
  .product-detail {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }
  .product-detail > .jar-scene {
    height: 350px;
  }
  .product-detail .jar {
    transform: scale(1.2) rotate(-5deg);
  }
  .cart-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cart-row > img {
    width: 60px;
  }
  .cart-row {
    gap: 10px;
  }
  .cart-row a {
    font-size: 17px;
  }
  .cart-row .remove-button {
    margin-left: auto;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background 0.15s;
  }
  .product-image .jar {
    transition: transform 0.25s;
  }
  .product-image:hover .jar {
    transform: rotate(0deg);
  }
}

nav[aria-label="Main navigation"] {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav[aria-label="Main navigation"] img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

nav[aria-label="Main navigation"] a:hover {
  opacity: 0.75;
}

nav a[href="/about"] img {
  width: 42px;
  height: 42px;
}

nav a[href="/shop"] img {
  width: 55px;
  height: 55px;
}

nav a[href="/"] img {
  width: 52px;
  height: 52px;
}
/* Reserve label space so revealing a name never moves the header. */
.site-header .nav-icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 55px;
  margin-bottom: 24px;
}
.site-header .nav-icon-link .nav-label {
  display: block;
  position: absolute;
  top: 100%;
  left: 50%;
  white-space: nowrap;
  font-size: 12px;
  line-height: 24px;
  opacity: 0;
  transform: translate(-50%, -4px);
  pointer-events: none;
  transition: opacity 280ms ease, transform 280ms ease;
}
/* The cart icon is 44px wide; its count must not shift the label. */
.site-header .basket-link .nav-label {
  left: 22px;
}
.site-header .nav-icon-link:hover,
.site-header .nav-icon-link:focus-visible {
  opacity: 1;
}
.site-header .nav-icon-link:hover .nav-label,
.site-header .nav-icon-link:focus-visible .nav-label {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Touch screens have no dependable hover: keep names readable. */
@media (hover: none) {
  .site-header .nav-icon-link .nav-label {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav-icon-link .nav-label {
    transition: none;
  }
}
