:root {
  --ink: #18352f;
  --paper: #f5eedf;
  --cream: #fffaf1;
  --tomato: #df583c;
  --mustard: #e8b43f;
  --mint: #c9dcc8;
  --blue: #9fc7ca;
  --line: rgba(24, 53, 47, 0.2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
button, input, textarea { font: inherit; line-height: 1.2; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  min-height: 76px;
  padding: 13px clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 238, 223, 0.94);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 13px;
  letter-spacing: 0;
}
nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); font-size: 14px; font-weight: 800; }
nav a { text-decoration: none; }
nav a:not(.nav-pill):hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-pill { padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; transition: .2s ease; }
.nav-pill:hover { background: var(--ink); color: var(--cream); }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: clamp(40px, 6vw, 104px);
  align-items: center;
  padding: 82px clamp(22px, 7vw, 112px) 96px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 50%;
  left: -190px;
  top: 60px;
}
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 14px; color: var(--tomato); font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, a, button, span { overflow-wrap: anywhere; }
h1 {
  margin-bottom: 29px;
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 96px;
  line-height: 0.88;
  letter-spacing: 0;
  font-weight: 500;
}
.intro { max-width: 690px; margin-bottom: 0; font-size: 20px; line-height: 1.65; }
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 23px; flex-wrap: wrap; }
.primary-button, .light-button {
  min-height: 46px;
  border: 1px solid var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 20px;
  border-radius: 3px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary-button { background: var(--tomato); color: white; }
.primary-button:hover, .light-button:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.micro-note { max-width: 220px; font-size: 12px; line-height: 1.45; opacity: .7; }
.hero-card {
  min-height: 420px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--ink);
  background: var(--mustard);
  transform: rotate(1.6deg);
  box-shadow: 14px 14px 0 var(--ink);
  position: relative;
}
.hero-card > p:last-of-type { max-width: 315px; margin: 22px 0 0; line-height: 1.55; }
.handwritten { margin: 0 0 20px; font-family: "Comic Sans MS", cursive; font-size: 22px; transform: rotate(-3deg); }
.pickup-badge { display: flex; gap: 15px; align-items: center; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 18px; }
.pickup-pin { color: var(--tomato); font-size: 26px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 20px; gap: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0; }
.hero-stats span { display: flex; flex-direction: column; gap: 3px; }
.hero-stats strong { font-family: Georgia, serif; font-size: 25px; letter-spacing: 0; }
.sunburst { position: absolute; right: 26px; top: 24px; font-size: 42px; }

.ticker { overflow: hidden; padding: 14px 0; background: var(--tomato); color: white; border-block: 1px solid var(--ink); }
.ticker > div { min-width: max-content; display: flex; justify-content: space-around; gap: 28px; padding-inline: 24px; font-size: 12px; font-weight: 900; letter-spacing: 0; }
.ticker b { color: var(--mustard); }

.newcomers {
  padding: 64px clamp(22px, 6.5vw, 106px) 72px;
  background: var(--blue);
  border-bottom: 1px solid var(--ink);
}
.newcomer-heading { margin-bottom: 28px; }
.newcomers .inventory-note { border-color: rgba(24, 53, 47, .42); }
.newcomer-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.newcomer-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
}
.newcomer-button {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.newcomer-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--ink);
  background: #e6dcc9;
}
.newcomer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.newcomer-button:hover .newcomer-photo img { transform: scale(1.035); }
.newcomer-copy {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  padding: 18px;
}
.newcomer-copy span,
.new-badge {
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--tomato);
  color: white;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.newcomer-copy h3 {
  margin: 14px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: 0;
}
.newcomer-copy p {
  margin: 0;
  line-height: 1.45;
  opacity: .8;
}
.newcomer-empty {
  max-width: 620px;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.featured { background: var(--ink); color: var(--cream); padding: 92px clamp(22px, 6.5vw, 106px) 116px; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 32px; }
.section-heading h2, .how-title h2, .contact-panel h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: .98;
  font-weight: 500;
  letter-spacing: 0;
}
.inventory-note { padding: 8px 12px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: 13px; white-space: nowrap; }
.filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 30px; }
.filter { min-height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 9px 14px; background: transparent; color: var(--cream); cursor: pointer; font-size: 13px; font-weight: 800; }
.filter:hover, .filter.active { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 19px; }
.product-card { min-width: 0; background: var(--cream); color: var(--ink); border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; }
.product-card.card-2 .product-copy { background: #f4d693; }
.product-card.card-3 .product-copy { background: var(--mint); }
.card-button { width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.product-photo { height: clamp(250px, 24vw, 350px); overflow: hidden; position: relative; background: #eadfcb; border-bottom: 1px solid var(--ink); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-button:hover .product-photo img { transform: scale(1.035); }
.price-tag { position: absolute; top: 14px; right: 14px; min-width: 58px; max-width: 110px; padding: 10px 12px; background: var(--mustard); border: 1px solid var(--ink); border-radius: 999px; font-weight: 900; text-align: center; line-height: 1.05; transform: rotate(5deg); }
.available-tag { position: absolute; left: 0; bottom: 0; padding: 7px 11px; background: var(--ink); color: white; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.new-badge { position: absolute; left: 12px; top: 12px; }
.product-copy { min-height: 170px; display: flex; flex-direction: column; padding: 20px 20px 21px; transition: background .2s ease; }
.product-copy > p { margin: 0 0 7px; color: var(--tomato); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.product-copy h3 { margin-bottom: 10px; font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.02; font-weight: 500; letter-spacing: 0; }
.view-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; font-size: 13px; font-weight: 900; }
.view-link b { font-size: 18px; transition: transform .2s ease; }
.card-button:hover .view-link b { transform: translate(3px, -3px); }

.how-it-works { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 130px); padding: 112px clamp(22px, 7vw, 112px); background: var(--mint); }
.how-title { max-width: 570px; }
.how-title > p:last-child { max-width: 470px; margin-top: 25px; font-size: 17px; line-height: 1.65; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--ink); }
.steps > li > span { font-size: 12px; font-weight: 900; color: var(--tomato); }
.steps h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 25px; font-weight: 500; }
.steps p { margin-bottom: 0; line-height: 1.5; opacity: .78; }

.contact-panel { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(40px, 7vw, 110px); align-items: center; padding: 92px clamp(22px, 7vw, 112px); background: var(--mustard); border-block: 1px solid var(--ink); }
.contact-copy { max-width: 420px; }
.contact-copy p { line-height: 1.6; }
.light-button { margin-top: 8px; background: var(--cream); color: var(--ink); }
.contact-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.contact-actions .primary-button, .contact-actions .light-button { margin-top: 8px; }
footer { display: grid; grid-template-columns: 1fr auto auto; gap: 34px; align-items: center; padding: 34px clamp(22px, 5vw, 76px); background: var(--paper); font-size: 12px; }
footer p { margin: 0; opacity: .72; }
footer > a:last-child { font-weight: 900; }
.footer-brand { font-size: 14px; }
.footer-brand .brand-mark { width: 34px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(10, 25, 21, .82); backdrop-filter: blur(8px); }
.listing-modal { width: min(1180px, 100%); max-height: calc(100vh - 48px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr); background: var(--cream); color: var(--ink); border: 1px solid var(--ink); box-shadow: 16px 16px 0 var(--mustard); overflow: hidden; position: relative; }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 5; width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; background: var(--cream); color: var(--ink); cursor: pointer; font-size: 28px; line-height: 1; }
.modal-close:hover { background: var(--tomato); color: white; }
.modal-gallery { min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #e6dcc9; border-right: 1px solid var(--ink); overflow: hidden; }
.modal-main-photo { min-height: 0; position: relative; display: grid; place-items: center; padding: 20px; overflow: hidden; }
.modal-main-photo > img { width: 100%; height: 100%; max-height: calc(100vh - 190px); object-fit: contain; }
.photo-count { position: absolute; left: 16px; top: 16px; padding: 7px 10px; background: var(--ink); color: white; font-size: 11px; font-weight: 900; }
.photo-arrow { position: absolute; top: 50%; width: 43px; height: 43px; margin-top: -21px; border: 1px solid var(--ink); border-radius: 50%; background: rgba(255,250,241,.92); color: var(--ink); cursor: pointer; font-weight: 900; }
.photo-arrow.previous { left: 14px; }
.photo-arrow.next { right: 14px; }
.thumbnail-row { min-height: 90px; display: flex; gap: 8px; padding: 10px; overflow-x: auto; border-top: 1px solid var(--ink); background: var(--paper); scrollbar-width: thin; }
.thumbnail { flex: 0 0 70px; width: 70px; height: 70px; padding: 0; border: 2px solid transparent; background: #ddd; cursor: pointer; opacity: .65; }
.thumbnail.active { border-color: var(--tomato); opacity: 1; }
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.modal-copy { padding: clamp(34px, 4.4vw, 64px); overflow-y: auto; }
.modal-meta { display: flex; gap: 8px; margin-bottom: 20px; padding-right: 42px; }
.modal-meta span { padding: 6px 9px; border: 1px solid var(--ink); border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.modal-meta span:last-child { background: var(--mint); }
.modal-copy h2 { margin-bottom: 14px; font-family: Georgia, serif; font-size: 46px; line-height: .98; letter-spacing: 0; font-weight: 500; }
.modal-price { color: var(--tomato); font-family: Georgia, serif; font-size: 34px; font-weight: 700; }
.modal-summary { font-size: 18px; font-weight: 800; line-height: 1.5; }
.modal-copy > p:not(.modal-summary) { line-height: 1.65; opacity: .82; }
.modal-copy ul { margin: 25px 0; padding: 20px 0; list-style: none; border-block: 1px solid var(--line); }
.modal-copy li { padding: 5px 0 5px 23px; position: relative; }
.modal-copy li::before { content: "✦"; position: absolute; left: 0; color: var(--tomato); }
.modal-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.modal-actions > span { font-size: 12px; opacity: .7; }
.share-button { min-width: 150px; }
.copy-fallback { width: 100%; max-width: 520px; margin-top: 14px; display: grid; gap: 7px; }
.copy-fallback label { font-size: 12px; font-weight: 900; }
.copy-fallback input { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid var(--ink); border-radius: 3px; background: var(--cream); color: var(--ink); }

button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--mustard); outline-offset: 4px; }

@media (max-width: 1120px) {
  h1 { font-size: 76px; }
  .newcomer-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-modal { grid-template-columns: minmax(0, 1fr) 390px; }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 13px 20px;
  }
  nav {
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 3px;
    white-space: nowrap;
    scrollbar-width: thin;
  }
  nav a { min-height: 42px; display: inline-flex; align-items: center; }
  h1 { font-size: 62px; line-height: .96; }
  .intro { font-size: 18px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 54px; padding-bottom: 74px; }
  .hero::before { display: none; }
  .hero-card { max-width: 560px; min-height: 340px; transform: none; }
  .newcomers, .featured { padding-inline: 20px; }
  .newcomer-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading h2, .how-title h2, .contact-panel h2 { font-size: 46px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-photo { height: min(420px, 48vw); }
  .how-it-works, .contact-panel { grid-template-columns: 1fr; }
  .how-it-works, .contact-panel { padding-inline: 20px; }
  .listing-modal { max-height: calc(100vh - 24px); grid-template-columns: 1fr; overflow-y: auto; }
  .modal-backdrop { padding: 12px; }
  .modal-gallery { min-height: 58vh; border-right: 0; border-bottom: 1px solid var(--ink); overflow: visible; }
  .modal-main-photo > img { max-height: 48vh; }
  .modal-copy { overflow: visible; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 560px) {
  .site-header { padding-inline: 16px; }
  .brand > span:last-child { font-size: 15px; }
  .nav-pill { padding: 8px 10px; font-size: 12px; }
  nav { font-size: 13px; }
  h1 { font-size: 44px; }
  .hero { padding-bottom: 70px; }
  .hero-card { padding: 28px; margin-right: 10px; box-shadow: 9px 9px 0 var(--ink); transform: rotate(.7deg); }
  .hero-stats { grid-template-columns: 1fr; }
  .micro-note { max-width: none; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading h2, .how-title h2, .contact-panel h2 { font-size: 36px; }
  .newcomers { padding-block: 52px 60px; }
  .newcomer-rail {
    display: flex;
    margin-inline: -16px;
    overflow-x: auto;
    padding: 0 16px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .newcomer-card { flex: 0 0 min(84vw, 340px); scroll-snap-align: start; }
  .product-grid { grid-template-columns: 1fr; }
  .product-photo { height: 94vw; max-height: 470px; }
  .product-copy { min-height: 155px; }
  .how-it-works { padding-block: 78px; }
  .contact-panel { padding-block: 72px; }
  .contact-actions .primary-button, .contact-actions .light-button, .hero-actions .primary-button {
    width: 100%;
  }
  footer { grid-template-columns: 1fr; }
  footer p { grid-column: auto; grid-row: auto; }
  .footer-brand { display: none; }
  .listing-modal { width: 100%; max-height: 100vh; border: 0; box-shadow: none; }
  .modal-backdrop { padding: 0; align-items: stretch; }
  .modal-main-photo { padding: 10px; }
  .modal-gallery { min-height: 52vh; }
  .modal-copy { padding: 34px 24px 40px; }
  .modal-copy h2 { font-size: 34px; }
  .modal-actions .primary-button, .modal-actions .light-button { width: 100%; }
  .modal-close { width: 38px; height: 38px; right: 10px; top: 10px; }
}

@media (max-width: 390px) {
  .brand { gap: 9px; }
  .brand-mark { width: 36px; font-size: 12px; }
  .brand > span:last-child { font-size: 14px; }
  h1 { font-size: 40px; }
  .hero-card { padding: 24px; margin-right: 6px; }
  .newcomer-card { flex-basis: 88vw; }
  .price-tag { right: 10px; top: 10px; padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
