:root {
  --cream: #f8f1dc;
  --paper: #fffaf0;
  --ink: #2c2017;
  --muted: #756453;
  --sage: #627653;
  --sage-dark: #344326;
  --gold: #c89b3c;
  --rose: #b96c55;
  --line: rgba(64, 48, 35, 0.18);
  --shadow: 0 24px 70px rgba(49, 35, 20, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(200, 155, 60, 0.18), transparent 32rem),
    linear-gradient(180deg, var(--cream), #f3e7c8 48%, #ecddba);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  background: rgba(248, 241, 220, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}
.brand img {
  height: 62px;
  width: auto;
  max-width: min(46vw, 320px);
  object-fit: contain;
  mix-blend-mode: multiply;
  border-radius: 12px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  min-width: 0;
  gap: clamp(0.35rem, 1.4vw, 1rem);
  font-weight: 700;
  color: var(--sage-dark);
}
.nav a {
  flex: 0 0 auto;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.35rem 0.55rem;
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover { color: var(--rose); background: rgba(185,108,85,0.1); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem) 3rem;
  max-width: 1240px;
  margin: 0 auto;
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 0.96; text-wrap: pretty; }
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: -0.075em;
  max-width: 9ch;
  color: var(--sage-dark);
  text-shadow: 0 10px 34px rgba(49, 35, 20, 0.12);
}
.hero-subtitle {
  margin: 0.65rem 0 1rem;
  max-width: 17ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4.8vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--ink);
}
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  letter-spacing: -0.055em;
}
h3 { font-size: 1.35rem; }
.lede {
  max-width: 58ch;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
}
.quick-contact {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin: 0.5rem 0 0;
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(52,67,38,0.18);
  border-radius: 999px;
  background: rgba(255,250,240,0.76);
  color: var(--sage-dark);
}
.quick-contact a { font-weight: 900; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.7rem; }
.button {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(44,32,23,.14); }
.button.primary { background: var(--sage-dark); color: #fff7e1; border-color: var(--sage-dark); }
.button.secondary { background: rgba(255,250,240,0.72); color: var(--sage-dark); }
.hero-card {
  margin: 0;
  padding: 0.65rem;
  border-radius: var(--radius);
  background: rgba(255,250,240,0.66);
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-swipe-gallery {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  border-radius: calc(var(--radius) - 10px);
}
.hero-swipe-image {
  flex: 0 0 100%;
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
  aspect-ratio: 4/3;
  object-fit: cover;
  scroll-snap-align: start;
}
.hero-card img { border-radius: calc(var(--radius) - 10px); aspect-ratio: 4/3; object-fit: cover; }
.hero-card figcaption { padding: 0.8rem 0.4rem 0.25rem; color: var(--muted); font-weight: 700; }

.intro-band {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}
.intro-band img {
  width: min(100%, 860px);
  margin: 0 auto;
  border-radius: 22px;
  mix-blend-mode: multiply;
  opacity: 0.95;
}

.section { max-width: 1180px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem); }
.farm-photos { padding-top: 1rem; }
.farm-photo-gallery { margin-top: 1.5rem; }
.farm-swipe-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
}
.farm-swipe-image {
  flex: 0 0 min(86vw, 520px);
  width: min(86vw, 520px);
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 24px;
  border: 8px solid rgba(255,250,240,0.75);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  background: rgba(52,67,38,0.08);
}
.section-heading { display: grid; grid-template-columns: 0.9fr 1fr; gap: 1.5rem 3rem; align-items: end; margin-bottom: 2rem; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading p:not(.eyebrow) { margin: 0; color: var(--muted); line-height: 1.65; font-size: 1.08rem; }
.section-heading.narrow { display: block; max-width: 760px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.product-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,250,240,0.72);
  box-shadow: 0 10px 30px rgba(49,35,20,0.08);
  overflow: hidden;
}
.product-photo-gallery {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  margin: -0.25rem -0.25rem 0;
  border-radius: 18px;
}
.product-photo-gallery img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 18px;
  scroll-snap-align: start;
  background: rgba(52,67,38,0.08);
}
.product-photo-placeholder {
  min-height: 150px;
  display: grid;
  place-items: center;
  gap: 0.25rem;
  margin: -0.25rem -0.25rem 0;
  border: 1px dashed rgba(52,67,38,0.28);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,250,240,0.72), rgba(98,118,83,0.11));
  color: var(--sage-dark);
  text-align: center;
}
.product-photo-placeholder span {
  font-size: 2rem;
}
.product-photo-placeholder small,
.swipe-hint {
  color: var(--muted);
  font-weight: 850;
  font-size: 0.78rem;
}
.swipe-hint {
  display: inline-flex;
  margin-top: -0.45rem;
}
.product-card-copy { display: grid; gap: 0.45rem; }
.product-card .icon { font-size: 2.1rem; }
.product-card p { color: var(--muted); line-height: 1.5; }
.price-block { display: grid; gap: 0.25rem; align-items: start; }
.price-usd { color: var(--sage-dark); font-weight: 900; font-size: 1.02rem; }
.price-sats {
  display: none;
  color: var(--sage-dark);
  font-weight: 950;
  font-size: 1.05rem;
  line-height: 1.25;
}
.show-sats-pricing .price-usd {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}
.show-sats-pricing .price-sats { display: block; }
.sats-controls {
  display: grid;
  gap: 0.45rem;
  justify-items: start;
  margin-top: 1rem;
}
.sats-controls small {
  color: var(--muted);
  line-height: 1.4;
}
.sats-controls .button[disabled] {
  cursor: wait;
  opacity: 0.68;
  transform: none;
  box-shadow: none;
}

.feature-split {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.fresh-drop { padding-top: 0; }
.fresh-drop-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,250,240,0.86), rgba(185,108,85,0.13)),
    rgba(255,250,240,0.76);
}
.fresh-drop-copy { padding: clamp(1.2rem, 4vw, 2rem); }
.fresh-drop-copy > p { color: var(--muted); line-height: 1.65; }
.menu-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.35rem;
}
.menu-columns > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.44);
}
.menu-columns h3 { font-size: 1.05rem; color: var(--sage-dark); }
.menu-columns ul { margin: 0.7rem 0 0; padding-left: 1.1rem; color: var(--muted); line-height: 1.55; }
.menu-columns li + li { margin-top: 0.35rem; }
.cake-cups-feature {
  margin: 0;
  min-height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  background: rgba(52,67,38,0.08);
}
.cake-cups-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.cake-cups-feature figcaption {
  padding: 0.9rem 1rem;
  color: var(--sage-dark);
  font-weight: 900;
  background: rgba(255,250,240,0.9);
}
.feature-image.stack { display: grid; gap: 1rem; }
.feature-image img {
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 8px solid rgba(255,250,240,0.75);
  object-fit: cover;
}
.feature-image img:last-child { width: 70%; justify-self: end; margin-top: -4rem; transform: rotate(3deg); }
.feature-copy p { color: var(--muted); line-height: 1.7; font-size: 1.08rem; }
.check-list { padding: 0; margin: 1.5rem 0 0; list-style: none; display: grid; gap: 0.8rem; }
.check-list li { padding-left: 2rem; position: relative; font-weight: 750; }
.check-list li::before { content: ""; width: 0.72rem; height: 0.72rem; border-radius: 999px; background: var(--gold); position: absolute; left: 0.35rem; top: 0.4rem; box-shadow: 0 0 0 5px rgba(200,155,60,.18); }

.market-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.market-card, .order-card, .bitcoin-card, .farm-booth-card, .fresh-drop-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,250,240,0.76);
  box-shadow: 0 18px 48px rgba(49,35,20,0.1);
}
.market-card { padding: 1.35rem; min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; }
.market-card.farm { background: var(--sage-dark); color: #fff7e1; }
.market-card p { color: inherit; opacity: 0.78; line-height: 1.5; }
.market-time { margin: 1rem 0 0.35rem; font-size: 1.15rem; font-weight: 900; color: var(--sage-dark) !important; opacity: 1 !important; }
.market-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(52,67,38,0.1);
  color: var(--sage-dark);
  font-weight: 900;
  text-decoration: none;
}
.market-link:hover { background: rgba(200,155,60,0.24); }
.farm .market-time, .farm .market-link { color: #fff7e1 !important; }
.day { display: inline-flex; margin-bottom: 1rem; border-radius: 999px; padding: 0.35rem 0.7rem; background: rgba(200,155,60,0.2); color: var(--sage-dark); font-weight: 900; }
.farm .day { background: rgba(255,255,255,0.16); color: #fff7e1; }

.farm-booth-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.2rem, 4vw, 2rem);
  background:
    linear-gradient(135deg, rgba(255,250,240,0.78), rgba(98,118,83,0.16)),
    rgba(255,250,240,0.76);
}
.farm-booth-card p { color: var(--muted); line-height: 1.65; }
.booth-details { display: grid; gap: 1rem; }
.booth-details > div {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.42);
}
.booth-details strong { display: block; margin-top: 0.25rem; color: var(--sage-dark); font-size: 1.12rem; }
.booth-details a { color: var(--sage-dark); }
.detail-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.order-card, .bitcoin-card {
  padding: clamp(1.2rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.order-card.contact-only { grid-template-columns: 0.9fr 1fr; }
.order-card.contact-only > div:first-child p:not(.eyebrow) { color: var(--muted); line-height: 1.65; }
.contact-options {
  display: grid;
  gap: 0.7rem;
  align-content: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.42);
}
.contact-options .contact-line { margin: 0; }
.contact-line { color: var(--muted); }
.contact-line a { font-weight: 900; color: var(--sage-dark); }
.placeholder { color: var(--muted); font-style: italic; }
.inquiry-form { display: grid; gap: 0.9rem; }
label { display: grid; gap: 0.35rem; color: var(--sage-dark); font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 0.95rem;
  background: #fffdf6;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }

.bitcoin-card { background: linear-gradient(135deg, rgba(255,250,240,.82), rgba(200,155,60,.18)); }
.bitcoin-card p { color: var(--muted); line-height: 1.65; }
.bitcoin-panel {
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 24px;
  border: 1px dashed rgba(52,67,38,.32);
  background: rgba(255,255,255,0.4);
  padding: 1.4rem;
}
.btc-mark { font-size: 4rem; font-weight: 900; color: #f7931a; }
.bitcoin-panel p { margin: 0; font-weight: 900; color: var(--ink); }
.bitcoin-panel small { color: var(--muted); }
code { background: rgba(52,67,38,0.1); border-radius: 8px; padding: 0.1rem 0.3rem; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer p { margin: 0.35rem 0 0; }
.footer a { color: var(--sage-dark); font-weight: 800; }

@media (max-width: 900px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.35rem 0.55rem;
  }
  .brand {
    flex: 0 0 auto;
    justify-content: flex-start;
  }
  .brand img {
    height: 40px;
    max-width: 92px;
  }
  .nav {
    flex: 1 1 auto;
    width: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem;
    overflow: visible;
    padding-bottom: 0;
    font-size: 0.78rem;
  }
  .nav a {
    min-width: 0;
    min-height: 30px;
    width: 100%;
    padding: 0.25rem 0.22rem;
    background: rgba(255,250,240,0.58);
    border: 1px solid rgba(52,67,38,0.12);
  }
  .hero, .feature-split, .section-heading, .order-card, .bitcoin-card, .farm-booth-card, .fresh-drop-card { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
  h1 { max-width: 12ch; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-cards { grid-template-columns: 1fr; }
  .cake-cups-feature img { min-height: 320px; }
  .feature-image img:last-child { width: 82%; margin-top: -2rem; }
  .footer { flex-direction: column; }
}

@media (max-width: 560px) {
  .site-header {
    gap: 0.35rem;
    padding: 0.28rem 0.4rem;
  }
  .brand img { height: 34px; max-width: 72px; }
  .nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.18rem;
  }
  .nav a {
    min-height: 28px;
    padding: 0.22rem 0.12rem;
    font-size: 0;
  }
  .nav a::after {
    content: attr(data-short);
    font-size: 0.7rem;
    line-height: 1;
  }
  .product-grid { grid-template-columns: 1fr; }
  .menu-columns { grid-template-columns: 1fr; }
  .cake-cups-feature img { min-height: 260px; }
  .hero-card { transform: none; }
  .hero-actions .button { width: 100%; }
}
