:root {
  --cream: #f1e4c6;
  --card: #fbf3de;
  --tan: #e6d5aa;
  --leather: #3b2415;
  --saddle: #8a5a2b;
  --rust: #a4472a;
  --gold: #d6a23a;
  --footer: #241508;
  --muted: #6b5a44;
  --rye: "Rye", Georgia, serif;
  --slab: "Alfa Slab One", Georgia, serif;
  --body: "Bree Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
  background: var(--cream);
  color: var(--leather);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 6px double var(--leather);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; padding: 12px 24px; }
.logo { display: block; margin: -6px 0; }
.logo img { height: 96px; width: auto; }
.spacer { flex: 1; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; }
.nav a:not(.btn-order):hover { color: var(--rust); text-decoration: underline; }
.btn-order {
  background: var(--rust); color: var(--cream) !important;
  padding: 6px 14px; font-family: var(--slab); font-size: 14px;
  outline: 2px dashed var(--cream); outline-offset: -4px;
  text-decoration: none; white-space: nowrap;
}
.btn-order:hover { background: #8d3a21; }
.menu-btn {
  display: none; background: none; border: 0; padding: 6px 4px;
  font-size: 28px; line-height: 1; color: var(--leather); cursor: pointer; font-family: inherit;
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate; background: var(--cream);
  padding: 64px 28px 120px;
}
.hero-bg {
  position: absolute; z-index: -1; inset: 0;
  background: url("/img/hero.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(100deg, transparent 12%, rgba(0,0,0,.55) 45%, #000 85%);
  mask-image: linear-gradient(100deg, transparent 12%, rgba(0,0,0,.55) 45%, #000 85%);
}
.hero-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 0 0 0 0; }
.hero-inner > * { position: relative; }
.kicker { font-family: var(--slab); font-size: 13px; letter-spacing: .2em; color: var(--rust); }
.hero h1 { font-family: var(--rye); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: 1.05; max-width: 560px; }
.hero .sub { max-width: 400px; font-size: 18px; }
.btn-gold {
  display: inline-block; background: var(--gold); color: var(--leather);
  padding: 9px 22px; font-family: var(--slab); font-size: 15px;
  border: 2px solid var(--leather); box-shadow: 3px 3px 0 var(--leather);
  text-decoration: none; cursor: pointer;
}
.btn-gold:hover { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--leather); }
.stitch { height: 14px; background: repeating-linear-gradient(90deg, #3b2415 0 12px, #8a5a2b 12px 24px); }

/* ---------- section titles ---------- */
.sec-title {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--rye); font-weight: 400; font-size: 28px; color: var(--leather);
}
.sec-title .star { color: var(--gold); }

/* ---------- featured ---------- */
.featured { padding: 34px 24px 30px; }
.featured .sec-title { margin-bottom: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card); border: 3px solid var(--leather); padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  outline: 2px dashed var(--gold); outline-offset: -3px;
  cursor: pointer; position: relative;
}
.card:focus-visible { outline: 3px solid var(--rust); }
.card .thumb {
  height: 200px; border: 2px solid var(--leather); position: relative; overflow: hidden;
  background: repeating-linear-gradient(45deg, #e6d5aa, #e6d5aa 8px, #efe0bb 8px, #efe0bb 16px);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 5px; right: 5px;
  background: var(--rust); color: var(--cream); padding: 0 7px;
  font-family: var(--slab); font-size: 12px; line-height: 1.6;
}
.badge.sold { background: var(--leather); }
.card .pname { font-size: 17px; }
.card .row { display: flex; justify-content: space-between; align-items: center; }
.price { font-family: var(--slab); }
.btn-small {
  background: var(--leather); color: var(--cream); border: 0; cursor: pointer;
  padding: 3px 12px; font-family: var(--body); font-size: 14px;
}
.btn-small:hover { background: var(--rust); }
.btn-small[disabled] { opacity: .45; cursor: not-allowed; }
.card.soldout .thumb img { filter: grayscale(.7); opacity: .8; }

/* ---------- seasonal ---------- */
.seasonal { background: var(--saddle); color: var(--cream); padding: 28px 24px; }
.seasonal .sec-title { color: var(--cream); }
.seasonal-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px;
}
.s-item { cursor: pointer; }
.s-item .simg {
  height: 150px; border: 3px solid var(--leather); background: #c79a62; overflow: hidden; position: relative;
}
.s-item .simg img { width: 100%; height: 100%; object-fit: cover; }
.s-item .sname { font-size: 16px; margin-top: 6px; }
.s-item .sprice { font-family: var(--slab); font-size: 14px; color: var(--gold); }
.s-item .sstock { font-size: 13px; color: #f3c9a7; }
.s-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- coming soon ---------- */
.soon { padding: 32px 24px; }
.soon .sec-title { margin-bottom: 16px; }
.soon-card {
  background: var(--tan); border: 3px double var(--leather); padding: 12px;
  text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.soon-card .nb { font-family: var(--slab); font-size: 13px; letter-spacing: .15em; color: var(--rust); }
.soon-card .simg { width: 100%; height: 130px; border: 2px dashed var(--leather); overflow: hidden; }
.soon-card .simg img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.35); }
.soon-card h3 { font-family: var(--rye); font-weight: 400; font-size: 19px; }
.soon-card .ready { font-size: 15px; }

/* ---------- order ---------- */
.order { background: var(--leather); color: var(--cream); padding: 34px 24px; }
.order .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.order h2 { font-family: var(--rye); font-weight: 400; font-size: 30px; color: var(--gold); }
.order .lead { margin-top: 8px; font-size: 16px; }
.contact-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.contact-list a { color: var(--gold); }
.note { font-size: 13px; color: #d9c79d; }
form { display: flex; flex-direction: column; gap: 10px; }
label { font-size: 14px; color: #e8d9b3; display: block; margin-bottom: 3px; }
input, textarea {
  width: 100%; background: var(--cream); color: var(--leather); border: 0;
  padding: 8px 10px; font: inherit; font-size: 16px; border-radius: 0;
}
textarea { resize: vertical; min-height: 84px; }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); }
.btn-send {
  background: var(--rust); color: var(--cream); border: 0; cursor: pointer;
  padding: 10px; font-family: var(--slab); font-size: 15px;
  outline: 2px dashed var(--cream); outline-offset: -4px;
}
.btn-send:hover { background: #8d3a21; }
.btn-send[disabled] { opacity: .6; cursor: wait; }
.form-msg { min-height: 1.4em; font-size: 15px; }
.form-msg.ok { color: #b7e0a0; }
.form-msg.bad { color: #ffb59b; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: var(--gold); padding: 28px 24px 18px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.site-footer h3 { font-family: var(--rye); font-weight: 400; font-size: 20px; margin-bottom: 6px; color: var(--gold); }
.site-footer p, .site-footer a { color: #e8d9b3; }
.site-footer .copy { text-align: center; margin-top: 22px; color: var(--gold); font-size: 14px; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(36,21,8,.7); }
.modal.open { display: flex; }
.modal-box {
  background: var(--card); border: 3px solid var(--leather); outline: 2px dashed var(--gold); outline-offset: -8px;
  width: 100%; max-width: 760px; max-height: 92vh; overflow: auto; padding: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative;
}
.modal-img { border: 2px solid var(--leather); background: var(--tan); min-height: 240px; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; max-height: 420px; }
.modal h2 { font-family: var(--rye); font-weight: 400; font-size: 26px; line-height: 1.1; }
.modal .mprice { font-family: var(--slab); font-size: 22px; margin: 8px 0; }
.stockline { display: inline-block; font-family: var(--slab); font-size: 13px; padding: 1px 8px; background: var(--rust); color: var(--cream); margin-bottom: 10px; }
.stockline.ok { background: var(--saddle); }
.stockline.sold { background: var(--leather); }
.modal dl { margin: 12px 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 15px; }
.modal dt { font-family: var(--slab); font-size: 12px; letter-spacing: .08em; color: var(--rust); padding-top: 2px; }
.modal dd { margin: 0; }
.modal-close {
  position: absolute; top: 4px; right: 8px; background: none; border: 0; font-size: 30px; line-height: 1; cursor: pointer; color: var(--leather); z-index: 2;
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 70px; }
  .site-header .wrap { padding: 10px 16px; gap: 12px; }
  .logo img { height: 72px; }
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 6px double var(--leather);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 2px dotted var(--saddle); }
  .nav .btn-order { margin-top: 12px; text-align: center; padding: 12px; border-bottom: 0; }

  .hero { padding: 40px 16px 170px; }
  .hero-bg {
    background-position: 62% bottom;
    -webkit-mask-image: linear-gradient(to bottom, transparent 38%, #000 85%);
    mask-image: linear-gradient(to bottom, transparent 38%, #000 85%);
  }
  .hero-inner { gap: 10px; }
  .kicker { font-size: 11px; letter-spacing: .18em; }
  .hero h1 { font-size: 32px; }
  .btn-gold { padding: 11px 18px; font-size: 14px; }
  .stitch { height: 10px; background: repeating-linear-gradient(90deg, #3b2415 0 10px, #8a5a2b 10px 20px); }

  .sec-title { font-size: 26px; }
  .featured { padding: 20px 16px 18px; }
  .featured .sec-title { margin-bottom: 8px; }
  .grid3 { grid-template-columns: 1fr; gap: 10px; }
  .card { flex-direction: row; align-items: center; gap: 12px; }
  .card .thumb { width: 70px; height: 70px; flex: none; }
  .card .thumb .badge { display: none; }
  .card .body { flex: 1; font-size: 15px; }
  .card .row { justify-content: flex-start; gap: 8px; }
  .card .mbadge { display: inline; font-size: 12px; color: var(--rust); }
  .card .btn-small { padding: 10px; }

  .seasonal { padding: 16px; }
  .seasonal .sec-title { font-size: 22px; }
  .seasonal-track {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; -webkit-overflow-scrolling: touch;
  }
  .s-item { flex: none; width: 140px; scroll-snap-align: start; }
  .s-item .simg { height: 90px; }
  .s-item .sname { font-size: 14px; }

  .soon { padding: 18px 16px; }
  .grid3.soon-grid { gap: 12px; }

  .order { padding: 18px 16px; }
  .order .wrap { grid-template-columns: 1fr; gap: 20px; }
  .order h2 { font-size: 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 16px; }

  .modal { padding: 0; align-items: flex-end; }
  .modal-box { grid-template-columns: 1fr; max-height: 94vh; }
  .modal-img { min-height: 0; }
  .modal-img img { max-height: 260px; }
}
@media (min-width: 761px) {
  .card .mbadge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
