@import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Allura&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --cream: #d3ffb7;
  --cream-deep: #ede2cf;
  --paper: #fffdf8;
  --forest: #173f35;
  --forest-deep: #0c2b24;
  --sage: #b7c5a4;
  --sage-light: #dde5d2;
  --rust: #b95f39;
  --gold: #d9aa55;
  --ink: #1c2723;
  --muted: #5e6964;
  --line: rgba(23, 63, 53, 0.18);
  --shadow: 0 24px 60px rgba(24, 43, 36, 0.12);
  --heading: 'Bree Serif', serif;
  --script: 'Allura', cursive;
  --sans: 'Nunito', sans-serif;
  --serif: var(--heading);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}

body.dialog-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.9vw, 6.5rem);
  font-weight: 500;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 500;
}

h3 {
  font-size: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--forest-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.announcement {
  padding: 7px 24px;
  color: white;
  background: var(--forest-deep);
  text-align: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement p {
  margin: 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(211, 255, 183, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 32px rgba(12, 43, 36, 0.08);
}

.nav-wrap {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  min-height: 104px;
  margin: 0 auto;
  padding: 8px 0;
  align-items: center;
  grid-template-columns: 180px 1fr 180px;
  grid-template-rows: auto;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--forest);
  text-decoration: none;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}

.brand img {
  width: 92px;
  height: 56px;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
}

.site-header .brand span {
  display: none;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.25rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2vw, 32px);
  justify-self: center;
  grid-column: 2;
  grid-row: 1;
}

.site-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
  color: var(--forest-deep);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--rust);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
}

.header-call {
  display: grid;
  color: var(--forest);
  line-height: 1.2;
  text-align: right;
  text-decoration: none;
}

.header-call span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-call strong {
  font-family: var(--serif);
  font-size: 0.95rem;
}

.cart-button {
  display: inline-flex;
  min-height: 46px;
  padding: 8px 9px 8px 18px;
  align-items: center;
  gap: 12px;
  color: white;
  background: var(--forest);
  border: 0;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.cart-button strong {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--forest);
  background: var(--gold);
  border-radius: 50%;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--forest);
}

.button {
  display: inline-flex;
  min-height: 52px;
  padding: 14px 25px;
  align-items: center;
  justify-content: center;
  color: white;
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  color: white;
  background: #9e492c;
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 9px 19px;
  font-size: 0.86rem;
}

.button-dark {
  background: var(--forest);
  border-color: var(--forest);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--forest-deep);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.text-link span,
.card-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.card-link:hover span {
  transform: translateX(4px);
}

.hero {
  display: grid;
  width: min(1440px, calc(100% - 48px));
  min-height: min(760px, calc(100svh - 104px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 112px) 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  text-align: center;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 660px;
  margin-right: auto;
  margin-bottom: 34px;
  margin-left: auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.trust-list {
  display: flex;
  padding: 0;
  margin: 42px 0 0;
  flex-wrap: wrap;
  gap: 18px 30px;
  list-style: none;
  justify-content: center;
}

.hero-copy {
  position: relative;
  isolation: isolate;
}

.hero-copy::before,
.hero-copy::after {
  position: absolute;
  z-index: -1;
  width: clamp(100px, 14vw, 210px);
  height: clamp(100px, 14vw, 210px);
  background: rgba(23, 63, 53, 0.08);
  border-radius: 50%;
  content: '';
}

.hero-copy::before {
  top: -45px;
  left: 4%;
}

.hero-copy::after {
  right: 5%;
  bottom: -70px;
  background: rgba(185, 95, 57, 0.1);
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-list li::before {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  content: '';
}

.hero-visual {
  position: relative;
  min-height: 610px;
}

.hero-visual::before {
  position: absolute;
  top: -20px;
  right: -18px;
  width: 62%;
  height: 55%;
  background: var(--sage-light);
  border-radius: 48% 52% 42% 58%;
  content: '';
}

.hero-visual img {
  position: absolute;
  width: 92%;
  height: 92%;
  object-fit: cover;
  right: 0;
  bottom: 0;
  border-radius: 210px 210px 24px 24px;
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: -12px;
  bottom: 30px;
  display: grid;
  width: min(290px, 80%);
  padding: 18px 22px;
  color: white;
  background: var(--forest);
  border-radius: 16px 0 0 16px;
  box-shadow: var(--shadow);
}

.hero-note span {
  color: var(--sage-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: var(--serif);
  font-size: 1.18rem;
}

.value-band {
  display: grid;
  padding: 46px max(24px, calc((100% - 1440px) / 2));
  color: white;
  background: var(--forest);
  grid-template-columns: repeat(3, 1fr);
}

.value-band article {
  display: grid;
  padding: 12px clamp(24px, 4vw, 58px);
  grid-template-columns: auto 1fr;
  gap: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.value-band article:last-child {
  border: 0;
}

.value-band article > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.value-band h2 {
  margin-bottom: 7px;
  font-size: 1.35rem;
}

.value-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.section {
  padding: clamp(80px, 10vw, 150px) max(24px, calc((100% - 1328px) / 2));
}

.section-heading {
  display: grid;
  margin-bottom: 54px;
  align-items: end;
  grid-template-columns: 1fr minmax(280px, 480px);
  gap: 48px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading > p {
  margin: 0 0 10px;
  color: var(--muted);
}

.products-section {
  background: var(--paper);
}

.photo-story {
  display: grid;
  padding: clamp(32px, 5vw, 70px) max(24px, calc((100% - 1328px) / 2))
    clamp(80px, 10vw, 140px);
  background: var(--cream);
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-template-rows: repeat(2, minmax(190px, 310px));
  gap: 18px;
}

.photo-story figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 20px;
}

.photo-story figure:first-child {
  grid-row: 1 / 3;
}

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

.photo-story figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 10px 14px;
  color: white;
  background: rgba(12, 43, 36, 0.82);
  border-radius: 9px;
  font-size: 0.75rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.product-image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 0.82;
  background: var(--cream-deep);
  border-radius: 160px 160px 16px 16px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.product-image:hover img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 11px;
  color: white;
  background: var(--rust);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-copy {
  display: flex;
  padding: 20px 3px 8px;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.product-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.product-copy > strong {
  color: var(--rust);
}

.product-type {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-details {
  display: grid;
  margin: 16px 0;
  gap: 8px;
}

.product-details div {
  display: grid;
  gap: 2px;
}

.product-details dt {
  color: var(--forest);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-details dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.card-link {
  display: flex;
  width: 100%;
  padding: 10px 3px;
  align-items: center;
  justify-content: space-between;
  color: var(--forest);
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.centered-action {
  display: grid;
  margin-top: 54px;
  justify-items: center;
  gap: 12px;
}

.centered-action p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.split-section {
  display: grid;
  align-items: center;
  background: var(--sage-light);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 140px);
}

.split-image {
  position: relative;
}

.split-image > img {
  width: 100%;
  min-height: 610px;
  object-fit: cover;
  border-radius: 24px 180px 24px 24px;
  box-shadow: var(--shadow);
}

.image-caption {
  position: absolute;
  right: -28px;
  bottom: -28px;
  display: grid;
  padding: 20px 26px;
  color: white;
  background: var(--rust);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.image-caption strong {
  font-family: var(--serif);
  font-size: 1.3rem;
}

.image-caption span {
  font-size: 0.78rem;
}

.split-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.steps {
  padding: 0;
  margin: 38px 0;
  list-style: none;
}

.steps li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--forest);
  border-radius: 50%;
  font-family: var(--serif);
}

.steps strong {
  color: var(--forest);
}

.steps p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-section {
  display: grid;
  color: white;
  background: var(--forest-deep);
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  gap: clamp(60px, 10vw, 160px);
}

.story-copy .eyebrow {
  color: var(--gold);
}

.story-copy > p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.story-lede {
  color: white !important;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.story-copy .text-link {
  color: var(--gold);
}

.quote-card {
  padding: clamp(34px, 5vw, 62px);
  align-self: center;
  color: var(--forest-deep);
  background: var(--gold);
  border-radius: 140px 140px 18px 18px;
}

.quote-card blockquote {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  line-height: 1.2;
}

.quote-card p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.journal-section {
  background: var(--cream);
}

.journal-feature {
  display: grid;
  padding: clamp(34px, 6vw, 70px);
  align-items: end;
  color: white;
  background:
    linear-gradient(115deg, rgba(12, 43, 36, 0.96), rgba(23, 63, 53, 0.78)),
    url('assets/wheat-bread.webp') center / cover;
  border-radius: 24px;
  grid-template-columns: 0.65fr 1.3fr auto;
  gap: 42px;
}

.journal-feature h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.journal-feature p {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.journal-feature .text-link {
  color: white;
}

.journal-kicker {
  display: grid;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journal-kicker span {
  color: var(--gold);
  font-weight: 900;
}

.large-orders-section {
  display: grid;
  align-items: start;
  background: var(--paper);
  grid-template-columns: minmax(0, 0.75fr) minmax(480px, 1fr);
  gap: clamp(60px, 9vw, 140px);
}

.large-orders-section > div > p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
}

.check-list {
  display: grid;
  padding: 0;
  margin: 32px 0 0;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 22px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 800;
}

.check-list li::before {
  content: '✓';
  color: var(--rust);
}

.inquiry-form {
  display: grid;
  padding: clamp(28px, 5vw, 54px);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 24px;
  gap: 22px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.inquiry-form label {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  text-transform: none;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus,
.signup-form input:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(185, 95, 57, 0.15);
}

.form-note {
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.contact-section {
  display: grid;
  color: white;
  background: var(--rust);
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
  gap: clamp(60px, 9vw, 140px);
}

.contact-section .eyebrow {
  color: var(--cream-deep);
}

.contact-section > div > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-grid > * {
  display: grid;
  min-height: 150px;
  padding: 26px;
  align-content: space-between;
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: background 180ms ease;
}

.contact-grid > *:nth-child(2n) {
  border-right: 0;
}

.contact-grid > *:nth-child(n + 3) {
  border-bottom: 0;
}

.contact-grid a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-grid span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-grid strong {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  overflow-wrap: anywhere;
}

.policy-strip {
  display: flex;
  padding: 34px max(24px, calc((100% - 1328px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--forest);
  background: var(--gold);
}

.policy-strip p {
  margin: 3px 0 0;
}

.text-button {
  padding: 8px 0;
  color: var(--forest);
  background: transparent;
  border: 0;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.site-footer {
  padding: 76px max(24px, calc((100% - 1328px) / 2)) 24px;
  color: rgba(255, 255, 255, 0.74);
  background: #081d19;
}

.footer-main {
  display: grid;
  padding-bottom: 58px;
  grid-template-columns: 1.4fr 0.7fr 0.8fr 1.2fr;
  gap: 50px;
}

.footer-main > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-main > div > strong {
  margin-bottom: 5px;
  color: white;
  font-family: var(--serif);
  font-size: 1.15rem;
}

.footer-main a,
.footer-main button {
  width: fit-content;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  text-decoration: none;
  cursor: pointer;
}

.footer-main a:hover,
.footer-main button:hover {
  color: var(--gold);
}

.footer-brand {
  align-self: start;
  color: white !important;
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.55);
}

.signup-form {
  display: flex;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.signup-form input {
  width: 100%;
  padding: 9px 0;
  color: white;
  background: transparent;
  border: 0;
  outline: 0;
}

.signup-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.signup-form button {
  padding: 8px 5px;
  color: var(--gold);
  font-size: 1.5rem;
}

.footer-legal {
  display: flex;
  padding-top: 22px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
}

.footer-legal p {
  margin: 0;
}

.policy-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: min(820px, calc(100svh - 32px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.cart-dialog {
  width: min(540px, calc(100% - 28px));
  max-height: calc(100svh - 28px);
  margin: auto 14px auto auto;
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.cart-dialog::backdrop {
  background: rgba(8, 29, 25, 0.62);
  backdrop-filter: blur(4px);
}

.cart-shell {
  display: grid;
  min-height: min(760px, calc(100svh - 28px));
  grid-template-rows: auto 1fr auto;
}

.cart-header h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.cart-content {
  overflow-y: auto;
  padding: 12px 30px 30px;
}

.cart-empty {
  display: grid;
  min-height: 300px;
  place-content: center;
  justify-items: center;
  color: var(--muted);
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-items {
  display: grid;
}

.cart-item {
  display: grid;
  padding: 20px 0;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-item-copy {
  display: grid;
  gap: 4px;
}

.cart-item-copy strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.cart-item-copy span {
  color: var(--muted);
  font-size: 0.8rem;
}

.quantity-control {
  display: inline-flex;
  padding: 4px;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.quantity-control button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--forest);
  background: var(--cream);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.quantity-control span {
  min-width: 24px;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.cart-footer {
  display: grid;
  padding: 24px 30px 28px;
  gap: 14px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.cart-footer[hidden] {
  display: none;
}

.cart-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-total span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cart-total strong {
  color: var(--forest);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.policy-dialog::backdrop {
  background: rgba(8, 29, 25, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-header {
  display: flex;
  padding: 28px 32px 22px;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.dialog-header h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.dialog-header button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
}

.dialog-content {
  display: grid;
  padding: 26px 32px 34px;
  gap: 4px;
}

.dialog-content section {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.dialog-content h3 {
  margin-bottom: 8px;
}

.dialog-content p {
  margin: 0;
  color: var(--muted);
}

.dialog-content .fine-print {
  margin-top: 20px;
  font-size: 0.76rem;
}

.toast {
  position: fixed;
  z-index: 500;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  padding: 15px 19px;
  color: white;
  background: var(--forest-deep);
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    min-height: 88px;
    padding: 6px 0;
  }

  .site-nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }

  .site-nav > a:not(.button) {
    font-size: 0.78rem;
  }

  .header-call {
    display: none;
  }

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

  .hero-visual {
    min-height: 520px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 22px;
  }

  .journal-feature {
    grid-template-columns: 0.55fr 1fr;
  }

  .journal-feature .text-link {
    grid-column: 2;
  }

  .footer-main {
    grid-template-columns: 1.3fr repeat(2, 0.8fr);
  }

  .footer-main > div:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
  }
}

@media (max-width: 850px) {
  .nav-wrap {
    width: min(100% - 32px, 1440px);
    min-height: 76px;
    grid-template-columns: 1fr auto auto;
  }

  .brand img {
    width: 76px;
    height: 45px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    display: none;
    width: min(280px, calc(100vw - 32px));
    padding: 20px;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
  }

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

  .site-nav > a {
    padding: 10px !important;
  }

  .hero {
    width: min(100% - 32px, 1440px);
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 24px;
  }

  .hero-visual {
    min-height: min(620px, 90vw);
  }

  .photo-story {
    grid-template-columns: 1fr 1fr;
  }

  .photo-story figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 420px;
  }

  .value-band {
    grid-template-columns: 1fr;
  }

  .value-band article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .section-heading,
  .split-section,
  .story-section,
  .large-orders-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-image > img {
    min-height: 520px;
  }

  .story-section,
  .large-orders-section,
  .contact-section {
    gap: 56px;
  }

  .quote-card {
    max-width: 580px;
  }

  .large-orders-section {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(3.1rem, 15vw, 4.8rem);
  }

  .announcement {
    padding-inline: 12px;
    font-size: 0.62rem;
  }

  .brand span {
    display: none;
  }

  .cart-button span {
    display: none;
  }

  .cart-button {
    padding: 7px;
  }

  .hero {
    gap: 42px;
    padding-top: 56px;
  }

  .photo-story {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .photo-story figure,
  .photo-story figure:first-child {
    min-height: 300px;
    grid-column: auto;
  }

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

  .hero-visual img {
    width: 100%;
    height: 100%;
    border-radius: 140px 140px 18px 18px;
  }

  .hero-note {
    right: -8px;
    bottom: 18px;
  }

  .trust-list {
    display: grid;
  }

  .section {
    padding-block: 82px;
  }

  .section-heading {
    gap: 18px;
  }

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

  .product-image {
    aspect-ratio: 1;
  }

  .split-image > img {
    min-height: 420px;
    border-radius: 18px 110px 18px 18px;
  }

  .image-caption {
    right: -8px;
  }

  .journal-feature {
    padding: 36px 26px;
    grid-template-columns: 1fr;
  }

  .journal-feature .text-link {
    grid-column: auto;
  }

  .field-row,
  .check-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid > * {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
  }

  .contact-grid > *:last-child {
    border-bottom: 0 !important;
  }

  .policy-strip,
  .footer-legal {
    align-items: start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-main > div:last-child {
    grid-column: 1 / -1;
  }

  .dialog-header,
  .dialog-content {
    padding-inline: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Premium rustic farmhouse typography system */
.product-title,
.section-title,
.hero-title,
.hero-copy h1,
.checkout-heading h1,
.checkout-heading h2 {
  font-family: var(--heading);
}

body,
p,
li,
a,
button,
input,
textarea,
label,
nav,
.product-description,
.price,
.footer,
.site-footer {
  font-family: var(--sans);
}

.accent-script,
.hero-tagline,
.signature,
.made-with-love {
  font-family: var(--script);
  font-weight: 400;
  letter-spacing: 0;
}
