/* Alyssa's shop — warm 70s palette on cream paper. Mobile first. */
:root {
  --paper: #f7efe0;
  --paper-2: #fffaf0;
  --ink: #2f241d;
  --ink-soft: #6a5a4e;
  --mustard: #d9a441;
  --orange: #c8553d;
  --olive: #6b7a3a;
  --teal: #2f6f73;
  --line: #e2d3b8;
  --shadow: 0 2px 0 rgba(47, 36, 29, 0.08), 0 10px 24px -12px rgba(47, 36, 29, 0.35);
  --display: "Shrikhand", "Cooper Black", Georgia, serif;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(rgba(47, 36, 29, 0.045) 1px, transparent 1px);
  background-size: 5px 5px;
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img, video { max-width: 100%; display: block; }
a { color: var(--teal); }
a:hover { color: var(--orange); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 0.4em; }
main { max-width: 1120px; margin: 0 auto; padding: 0 16px 56px; min-height: 60vh; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

/* ---------- top bar ---------- */
.announce { background: var(--ink); color: var(--paper); text-align: center; padding: 7px 16px; font-size: 0.9rem; letter-spacing: 0.03em; }
.top {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  max-width: 1120px; margin: 0 auto; padding: 12px 16px; position: relative;
}
.logo {
  font-family: var(--display); font-size: clamp(1.45rem, 5.2vw, 2.1rem); color: var(--orange);
  text-decoration: none; text-align: center; line-height: 1.05; text-shadow: 2px 2px 0 var(--mustard);
}
.logo:hover { color: var(--orange); }
.menu { justify-self: start; }
.menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 12px; border-radius: 10px; border: 2px solid var(--ink); background: var(--paper-2);
  font-weight: 700; user-select: none; min-height: 44px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--mustard); }
.bars { display: grid; gap: 4px; width: 20px; }
.bars i { height: 3px; border-radius: 2px; background: var(--ink); display: block; }
.menu-word { display: none; }
.menu-panel {
  position: absolute; top: calc(100% - 4px); left: 16px; z-index: 30; min-width: 230px;
  background: var(--paper-2); border: 2px solid var(--ink); border-radius: 14px; padding: 8px;
  box-shadow: 6px 6px 0 var(--mustard); display: grid;
}
.menu-panel a {
  padding: 13px 16px; border-radius: 9px; text-decoration: none; color: var(--ink);
  font: 600 1.2rem var(--serif);
}
.menu-panel a:hover, .menu-panel a[aria-current] { background: var(--paper); color: var(--orange); }
.stripes { display: grid; }
.stripes i { height: 5px; display: block; }
.stripes i:nth-child(1) { background: var(--orange); }
.stripes i:nth-child(2) { background: var(--mustard); }
.stripes i:nth-child(3) { background: var(--olive); }
.stripes i:nth-child(4) { background: var(--teal); }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 44px 8px 30px; }
.hero-small { padding-top: 34px; }
.hero-kicker { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--olive); font-weight: 700; margin: 0 0 12px; }
.hero h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(2.5rem, 10vw, 5rem); color: var(--orange);
  text-shadow: 3px 3px 0 var(--mustard), 6px 6px 0 rgba(47, 111, 115, 0.35); margin: 0 0 18px; line-height: 1;
}
.hero-tag { font: italic 1.2rem/1.5 var(--serif); max-width: 34em; margin: 0 auto; color: var(--ink-soft); }

/* ---------- shop ---------- */
.shop { scroll-margin-top: 12px; }
.shop-bar { display: grid; gap: 14px; margin: 8px 0 24px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 9px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper-2);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.chip:hover { background: var(--mustard); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--paper); }
.search { display: flex; gap: 8px; max-width: 420px; width: 100%; margin: 0 auto; }
.search input {
  flex: 1; min-width: 0; padding: 10px 14px; border: 2px solid var(--line); border-radius: 999px;
  background: var(--paper-2); font: inherit; color: inherit;
}
.search button { border: 0; background: none; font: 700 0.95rem var(--sans); color: var(--teal); cursor: pointer; padding: 0 6px; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card {
  background: #fff; padding: 8px 8px 14px; border-radius: 4px; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform 0.18s ease, box-shadow 0.18s ease; display: block;
}
.card:nth-child(odd) { transform: rotate(-0.5deg); }
.card:nth-child(even) { transform: rotate(0.45deg); }
.card:hover { transform: rotate(0) translateY(-4px); color: var(--ink); box-shadow: 0 2px 0 rgba(47,36,29,.08), 0 18px 30px -14px rgba(47,36,29,.5); }
.card-photo { position: relative; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.is-sold img { filter: grayscale(0.7) opacity(0.75); }
.no-photo { height: 100%; min-height: 160px; display: grid; place-items: center; color: var(--ink-soft); font: italic 1rem var(--serif); background: var(--paper); }
.card-text { padding: 10px 4px 0; display: grid; gap: 3px; }
.card-cat { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.card h3 { font-size: 1.08rem; margin: 0; font-weight: 600; }
.price { font: 700 1.05rem var(--sans); color: var(--orange); }
.stamp {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg);
  border: 4px solid var(--orange); color: var(--orange); background: rgba(255, 250, 240, 0.88);
  font: 400 1.7rem var(--display); letter-spacing: 0.06em; padding: 2px 16px; border-radius: 8px; text-transform: uppercase; white-space: nowrap;
}
.stamp-hold { border-color: var(--teal); color: var(--teal); font-size: 1.25rem; }
.badge {
  position: absolute; top: 8px; left: 8px; background: var(--ink); color: var(--paper);
  font: 700 0.68rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px;
}
.badge-inline { position: static; display: inline-block; margin-bottom: 10px; }
.empty { text-align: center; padding: 60px 16px; border: 2px dashed var(--line); border-radius: 18px; background: var(--paper-2); }

/* ---------- buttons, notes, forms ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--orange); color: #fff; font: 700 1rem var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink); transition: transform 0.1s, box-shadow 0.1s; list-style: none;
}
.btn::-webkit-details-marker { display: none; }
.btn:hover { color: #fff; transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: none; }
.btn-big { font-size: 1.15rem; padding: 15px 30px; }
.btn-ghost { background: var(--paper-2); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); }
.btn-teal { background: var(--teal); }
.note { padding: 14px 16px; border-radius: 12px; margin: 16px 0; border: 2px solid; scroll-margin-top: 20px; }
.note-ok { background: #e7efd9; border-color: var(--olive); }
.note-bad { background: #f8dfd7; border-color: var(--orange); }
.msg-form { display: grid; gap: 12px; margin-top: 16px; padding: 18px; background: var(--paper-2); border: 2px solid var(--line); border-radius: 16px; }
.msg-form label { display: grid; gap: 5px; font-weight: 700; font-size: 0.92rem; }
.msg-form input, .msg-form textarea {
  font: 400 1rem var(--sans); padding: 11px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.msg-form input:focus, .msg-form textarea:focus { border-color: var(--teal); outline: none; }
.msg-form .btn { justify-self: start; }
.msg-prompt { margin: 0; color: var(--ink-soft); font-style: italic; }
.hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }

/* ---------- item page ---------- */
.crumbs { margin: 20px 0 14px; font-size: 0.92rem; color: var(--ink-soft); }
.item { display: grid; gap: 26px; }
.gallery-main { position: relative; background: #fff; padding: 10px; box-shadow: var(--shadow); border-radius: 4px; }
.gallery-main img { width: 100%; max-height: 78vh; object-fit: contain; background: var(--paper); }
.thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumb { flex: 0 0 68px; height: 84px; padding: 3px; border: 2px solid transparent; background: #fff; border-radius: 4px; cursor: pointer; box-shadow: 0 1px 3px rgba(47,36,29,.2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.on { border-color: var(--orange); }
.item-info h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.item-price { font: 700 1.7rem var(--sans); color: var(--orange); margin: 0 0 16px; }
.item-price em { font-style: normal; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.item-price s { color: var(--ink-soft); font-weight: 400; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.facts div { background: var(--paper-2); border: 2px solid var(--line); border-radius: 10px; padding: 7px 12px; }
.facts dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--olive); font-weight: 700; }
.facts dd { margin: 0; font-weight: 500; }
.prose { font-size: 1.05rem; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; color: var(--teal); }
.prose ol, .prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.45em; }
.buy { margin-top: 22px; display: grid; gap: 14px; justify-items: start; }
.ask { width: 100%; }
.ask > summary { display: inline-block; }
.or-reach, .ship-note, .sold-note { color: var(--ink-soft); font-size: 0.95rem; margin: 6px 0 0; }
.ship-note { margin-top: 20px; padding-top: 14px; border-top: 2px dashed var(--line); }

/* ---------- about ---------- */
.about { display: grid; gap: 26px; padding-top: 34px; align-items: start; }
.about-photo { max-width: 360px; margin: 0 auto; width: 100%; background: #fff; padding: 10px 10px 36px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-blank { aspect-ratio: 1; display: grid; place-items: center; font-size: 5rem; color: var(--orange); background: repeating-linear-gradient(45deg, #f4dfb8, #f4dfb8 14px, #f1d3a0 14px, #f1d3a0 28px); }
.about-text h1 { font-size: clamp(2rem, 7vw, 3rem); color: var(--orange); font-family: var(--display); font-weight: 400; }
.contact { max-width: 620px; margin: 48px auto 0; scroll-margin-top: 20px; }
.contact h2 { font-size: 1.7rem; text-align: center; }

/* ---------- diy ---------- */
.posts { display: grid; gap: 22px; max-width: 860px; margin: 0 auto; }
.post-card { display: grid; background: #fff; border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform 0.18s; }
.post-card:hover { transform: translateY(-4px); color: var(--ink); }
.post-cover { position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; border: 2px solid var(--ink); padding-left: 3px; }
.post-text { padding: 18px 20px 22px; display: grid; gap: 6px; }
.post-text h2 { font-size: 1.5rem; margin: 0; }
.post-text p { margin: 0; color: var(--ink-soft); }
.read-more { font-weight: 700; color: var(--teal); margin-top: 4px; }
.post { max-width: 720px; margin: 0 auto; }
.post h1 { font-size: clamp(2rem, 7vw, 3rem); }
.post-date { color: var(--olive); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; margin: 0 0 14px; }
.post-lede { font: italic 1.25rem/1.5 var(--serif); color: var(--ink-soft); }
.post-hero { width: 100%; border: 10px solid #fff; box-shadow: var(--shadow); margin: 20px 0; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 22px 0; border: 3px solid var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 6px 6px 0 var(--mustard); background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-file { aspect-ratio: auto; }
.video-file video { width: 100%; max-height: 80vh; }
.supplies { background: var(--paper-2); border: 2px dashed var(--olive); border-radius: 14px; padding: 18px 22px; margin: 24px 0; }
.supplies h2 { font-size: 1.2rem; color: var(--olive); }
.supplies ul { margin: 0; padding-left: 1.2em; }
.post-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.post-photos img { width: 100%; border: 6px solid #fff; box-shadow: var(--shadow); }
.post-end { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); margin-top: 30px; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 30px 16px 36px; text-align: center; }
.foot p { margin: 0 0 8px; }
.foot a { color: var(--mustard); }
.foot-logo { font: 400 1.6rem var(--display); color: var(--mustard); }
.foot-note { font-style: italic; opacity: 0.85; }
.foot-small { font-size: 0.85rem; opacity: 0.8; margin-top: 16px !important; }

/* ---------- wider screens ---------- */
@media (min-width: 560px) {
  .menu-word { display: inline; }
}
@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
  .card { padding: 12px 12px 18px; }
  .item { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 44px; }
  .about { grid-template-columns: 340px 1fr; gap: 48px; padding-top: 50px; }
  .post-card { grid-template-columns: 300px 1fr; }
  .post-cover { aspect-ratio: auto; min-height: 210px; }
  .shop-bar { grid-template-columns: 1fr auto; align-items: center; }
  .chips { justify-content: flex-start; }
  .search { margin: 0; width: 280px; }
}
@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
