:root {
  --milk: #faf8f5;
  --cream: #f3efea;
  --ink: #1e201e;
  --sage: #4a6b53;
  --sage-deep: #314a39;
  --clay: #c88a7b;
  --clay-deep: #b37264;
  --line: rgba(30, 32, 30, 0.1);
  --muted: #5e635e;
  --shadow: 0 24px 60px rgba(48, 38, 30, 0.1);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --header: 76px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--sage);
  font-weight: 600;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(48px, 7vw, 92px); line-height: 0.92; margin: 12px 0; }
h2 { font-size: clamp(36px, 5vw, 60px); line-height: 0.98; margin: 0 0 12px; }
h3 { font-size: 28px; line-height: 1.1; margin: 0; }

.hi, [data-icon] { display: inline-flex; align-items: center; justify-content: center; flex: none; }
header.site {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 248, 245, 0.97);
  border-bottom: 1px solid transparent;
}
header.site.scrolled { border-bottom-color: var(--line); background: var(--milk); }
body.menu-open header.site {
  z-index: 70;
  background: transparent;
  border-bottom-color: transparent;
  pointer-events: none;
}
body.menu-open header.site .logo,
body.menu-open header.site .nav-end { pointer-events: auto; }
.nav {
  min-height: 84px;
  display: flex; align-items: center; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: max-content; color: var(--sage-deep); }
.logo .mark {
  width: 44px; height: 44px; border-radius: 14px; background: white;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink);
}
.mark img { width: 30px; height: 20px; display: block; }
.foot-logo .mark img { filter: brightness(0) invert(1); }
.logo span { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: -2px; }
.logo b { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -0.03em; display: block; line-height: 1; }
.menu {
  margin-left: auto;
  display: flex; align-items: center; gap: 4px;
  background: white; border: 1px solid var(--line); border-radius: 999px; padding: 5px;
}
.menu a {
  text-decoration: none; font-size: 14px; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  transition: background .3s ease, color .3s ease, transform .3s ease;
}
.menu a:hover { background: var(--cream); color: var(--sage-deep); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.icon-btn, .burger {
  border: 1px solid var(--line); background: white; border-radius: 50%;
  width: 48px; height: 48px; padding: 0; display: inline-grid; place-items: center;
  transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
}
.icon-btn:hover, .burger:hover { transform: translateY(-2px); background: var(--cream); }
.cart-btn { position: relative; }
.cart-btn em {
  position: absolute; top: -4px; right: -4px;
  font-style: normal; background: var(--clay); color: white; border-radius: 99px;
  min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 12px;
}
.burger { display: none; }

.hero { padding: 12px 0 8px; }
.hero-stage {
  display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: 48px; align-items: end;
}
.hero-copy { text-align: center; }
.hero-copy h1 { margin: 6px auto 14px; font-size: clamp(56px, 5.4vw, 88px); max-width: 10ch; }
.hero .lead { font-size: 17px; max-width: 460px; color: var(--muted); margin: 0 auto; }
.hero .actions { margin: 22px auto 0; max-width: 440px; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.hero-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.hero-frame {
  position: relative; height: min(76vh, 720px); min-height: 540px;
  border-radius: 32px; overflow: hidden; background: #e7e1d8;
}
.hero-frame .main { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.06); }
.hero-frame .side {
  position: absolute; left: 16px; bottom: 16px; width: 34%; height: 36%;
  object-fit: cover; border-radius: 18px; border: 5px solid var(--milk);
  box-shadow: 0 16px 36px rgba(30, 32, 30, .18);
}
.actions, .card .row {
  display: grid; width: 100%; gap: 12px; margin-top: 28px;
  grid-template-columns: 1fr;
}
.actions:has(> :nth-child(2)), .card .row { grid-template-columns: 1fr 1fr; }
.card .row { margin-top: auto; }
.btn {
  width: 100%; min-height: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border-radius: 16px; padding: 14px 18px; border: 1px solid transparent;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s ease, box-shadow .35s ease;
}
.btn .hi { transition: transform .35s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(48, 38, 30, .08); }
.btn:hover .hi { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-clay { background: var(--clay); color: white; }
.btn-clay:hover { background: var(--clay-deep); }
.btn-sage { background: var(--sage); color: white; }
.btn-ghost { background: white; border-color: var(--line); }
.btn-line { background: white; border-color: var(--line); }
.section-head .btn { width: auto; min-width: 220px; margin: 0; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-frame { animation: heroIn .9s ease both; }

section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head p { max-width: 360px; color: var(--muted); margin: 0; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filters {
  display: flex; flex-wrap: wrap; gap: 6px; margin: 0;
  background: white; border: 1px solid var(--line); border-radius: 18px; padding: 6px;
}
.chip {
  border: 0; background: transparent; color: var(--ink); border-radius: 12px; padding: 10px 14px;
  transition: background .25s ease, color .25s ease;
}
.chip:hover { background: var(--cream); }
.chip.active { background: var(--ink); color: white; }
.sort { width: 230px; flex: none; background-color: white; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.home-grid { grid-template-columns: repeat(3, 1fr); }
.grid.market { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.market .card .row { grid-template-columns: 1fr; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-wrap .btn { width: min(360px, 100%); }
.catalog-intro { text-align: center; max-width: 680px; margin: 8px auto 28px; }
.catalog-intro h1 { font-size: clamp(42px, 6vw, 72px); }
.catalog-intro p { color: var(--muted); margin: 0 auto; max-width: 460px; }
.catalog-page .toolbar { align-items: stretch; }
.catalog-page .filters { flex: 1; }
.catalog-count { margin: -6px 0 18px; color: var(--muted); font-size: 14px; }
.card {
  background: var(--cream); border-radius: 22px; overflow: hidden; position: relative;
  display: flex; flex-direction: column; min-height: 100%; cursor: pointer;
}
.card .photo { aspect-ratio: 4/5; overflow: hidden; background: #e7e1d8; position: relative; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover img { transform: scale(1.06); }
.card .body { padding: 16px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card .name { font-family: var(--serif); font-size: 26px; line-height: 1; }
.card .comp { color: var(--muted); font-size: 13.5px; }
.price { display: flex; gap: 8px; align-items: baseline; font-weight: 700; }
.price s { color: var(--muted); font-weight: 500; font-size: 14px; }
.price-tag {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap;
  background: var(--milk); color: var(--ink); border-radius: 999px;
  padding: 8px 16px 9px; box-shadow: 0 10px 28px rgba(30, 32, 30, .18);
}
.price-tag small {
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.price-tag b { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.price-tag s { color: var(--muted); font-size: 13px; font-weight: 500; }
.price-tag.static { position: static; transform: none; box-shadow: none; border: 1px solid var(--line); margin: 4px 0 8px; }
.card .row .btn { min-height: 48px; padding: 10px 12px; font-size: 14px; }
.quick {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: white; color: var(--ink); display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(30, 32, 30, .12);
  opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.card:hover .quick, .card:focus-within .quick { opacity: 1; }
.badge {
  position: absolute; top: 12px; left: 12px; background: white; border-radius: 999px;
  padding: 4px 10px; font-size: 12px;
}

.reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
.reveal:nth-child(2) { animation-delay: .08s; }
.reveal:nth-child(3) { animation-delay: .16s; }
.reveal:nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.quiz { background: #e7efe8; border-radius: 32px; padding: 28px; display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 36px; align-items: center; }
.quiz-card { background: white; border-radius: 24px; padding: 22px; display: grid; gap: 16px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices button {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--line); background: var(--milk); color: var(--ink);
  border-radius: 16px; min-height: 52px; padding: 12px 14px; text-align: left;
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600;
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}
.choices button:hover { transform: translateY(-1px); border-color: var(--sage); }
.choices button.on { background: var(--sage); color: white; border-color: var(--sage); }
label.field { display: grid; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]), select, textarea {
  appearance: none; -webkit-appearance: none;
  width: 100%; margin: 0; background: var(--milk); color: var(--ink);
  border: 1px solid transparent; box-shadow: inset 0 0 0 1px rgba(30, 32, 30, .12);
  border-radius: 16px; min-height: 54px; padding: 0 16px; font-size: 16px; letter-spacing: 0; text-transform: none; font-weight: 500;
  outline: none; transition: box-shadow .2s ease, background .2s ease;
}
textarea { min-height: 110px; padding: 14px 16px; resize: vertical; }
input:focus, select:focus, textarea:focus { background: white; box-shadow: inset 0 0 0 2px var(--sage); }
select, .sort {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234A6B53' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px;
}
input[type="checkbox"] { appearance: auto; width: auto; min-height: 0; box-shadow: none; }
.budget {
  background: var(--milk); border-radius: 16px; padding: 14px 16px 12px;
}
.budget-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.budget-num { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; }
.budget-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 500; }
input[type="range"] {
  appearance: none; -webkit-appearance: none; width: 100%; height: 4px; margin: 14px 0 8px;
  min-height: 0; padding: 0; border: 0; box-shadow: none; background: #ddd9d2; border-radius: 99px; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sage);
  border: 3px solid white; box-shadow: 0 2px 8px rgba(49, 74, 57, .35); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--sage);
  border: 3px solid white; box-shadow: 0 2px 8px rgba(49, 74, 57, .35); cursor: pointer;
}

.journal { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.jcard { text-decoration: none; background: white; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.jcard img { height: 230px; width: 100%; object-fit: cover; }
.journal .jcard:first-child img { height: 340px; }
.jcard div { padding: 16px; }
.jcard small { color: var(--sage); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }

.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.map { border: 0; width: 100%; height: 420px; border-radius: 24px; background: var(--cream); }
.facts { display: grid; gap: 16px; }
.fact { background: white; border-radius: 18px; padding: 18px; border: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.fact .hi { color: var(--sage); margin-top: 2px; }
.fact b { display: block; margin-bottom: 4px; }
.shop { width: 100%; height: 280px; object-fit: cover; object-position: center 16%; border-radius: 24px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: white; border-radius: 22px; padding: 20px; border: 1px solid var(--line); }
.quote p { margin: 0 0 14px; font-family: var(--serif); font-size: 24px; line-height: 1.2; }

footer.site { background: var(--ink); color: #f6f3ee; padding: 56px 0 20px; }
footer.site a { text-decoration: none; }
.foot { display: grid; grid-template-columns: 1.5fr .8fr 1fr; gap: 40px; align-items: start; }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; color: white; }
.foot-logo .mark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #f3efe8; }
.foot-logo b { font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; }
.foot-brand p { color: rgba(246,243,238,.72); max-width: 380px; margin: 14px 0 0; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col > span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,243,238,.45); margin-bottom: 6px; }
.foot-col a { color: #f6f3ee; }
.foot-col a:hover { color: white; }
.foot-col p { margin: 6px 0 0; color: rgba(246,243,238,.72); }
.foot-bar {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(246,243,238,.14);
  color: rgba(246,243,238,.5); font-size: 13px;
}
.foot-bar a { color: inherit; }
#checkout, #one-form { display: grid; gap: 14px; margin-top: 6px; }
.drawer .content { display: flex; flex-direction: column; gap: 12px; }
.rise { opacity: 0; transform: translateY(18px); }
.rise.in { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
@media (prefers-reduced-motion: reduce) {
  .rise, .menu.open a { opacity: 1; transform: none; animation: none; }
  .hero-frame { animation: none; }
}

.drawer-bg, .modal-bg {
  position: fixed; inset: 0; background: rgba(30,32,30,.35); z-index: 40;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.drawer-bg.show, .modal-bg.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--milk); z-index: 41; transform: translateX(104%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column; box-shadow: var(--shadow);
}
.drawer.show { transform: none; }
.drawer header, .modal header { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 0; }
.drawer .content, .modal .content { padding: 18px; overflow: auto; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 10px; margin-bottom: 12px; }
.line-item img { width: 72px; height: 84px; object-fit: cover; border-radius: 12px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 28px; height: 28px; border: 0; background: white; }
.modal {
  position: fixed; z-index: 42; left: 50%; top: 50%; width: min(860px, calc(100% - 24px));
  transform: translate(-50%, -46%) scale(.98); background: var(--milk); border-radius: 24px;
  opacity: 0; pointer-events: none; transition: .3s ease; max-height: calc(100% - 32px); overflow: auto;
}
.modal.show { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-grid img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.ok-note { background: #e7efe8; border-radius: 16px; padding: 12px 14px; }

.fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px;
}
.fab > button {
  width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--sage); color: white;
  box-shadow: 0 10px 30px rgba(49, 74, 57, .3);
  display: grid; place-items: center;
  animation: pulse 2.4s ease-out infinite;
}
.fab.open > button { animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 107, 83, .45); }
  100% { box-shadow: 0 0 0 16px rgba(74, 107, 83, 0); }
}
.fab .pop {
  position: absolute; right: 3px; bottom: 70px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.fab .pop a {
  width: 52px; height: 52px; border-radius: 50%; color: white; text-decoration: none;
  display: grid; place-items: center;
  box-shadow: 0 12px 26px rgba(30, 32, 30, .18);
  transform: translateY(14px) scale(.7); opacity: 0; pointer-events: none;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
}
.fab.open .pop a { transform: none; opacity: 1; pointer-events: auto; }
.fab.open .pop a.phone { transition-delay: .02s; }
.fab.open .pop a.tg { transition-delay: .08s; }
.fab .pop a.phone { background: var(--sage); }
.fab .pop a.tg { background: #2AABEE; box-shadow: 0 12px 26px rgba(42, 171, 238, .38); }
.fab.open .pop a:hover { transform: translateY(-2px) scale(1.04); }

.page-hero { padding: 36px 0 10px; }
.article { width: min(760px, calc(100% - 40px)); margin: 0 auto 40px; }
.article .cover { width: 100%; height: min(520px, 70vw); object-fit: cover; border-radius: 28px; }
.article h1 { font-size: clamp(40px, 6vw, 68px); }
.prose p { font-size: 18px; }
.prose h2 { font-size: 34px; margin: 28px 0 8px; }
.prose ul { padding-left: 18px; }

.admin-body { background: var(--cream); }
.admin-body #logout { width: auto; min-height: 44px; margin-left: auto; padding: 0 18px; }
.login-card { width: min(420px, calc(100% - 32px)); margin: 10vh auto; background: white; padding: 28px; border-radius: 28px; display: grid; gap: 14px; }
.login-card.panel { margin: 0; width: min(480px, 100%); }
.login-card h2 { margin-bottom: 4px; }
.admin-body .tabs {
  display: flex; flex-wrap: wrap; gap: 6px; width: fit-content; max-width: 100%; margin: 22px 0 18px;
  background: white; border: 1px solid var(--line); border-radius: 18px; padding: 6px;
}
.admin-body .tabs button { border: 0; background: transparent; border-radius: 12px; padding: 10px 16px; font-weight: 600; }
.admin-body .tabs button.on { background: var(--ink); color: white; }
.order { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; margin-bottom: 12px; }
.order .top { display: flex; justify-content: space-between; gap: 12px; align-items: start; }
.order b { font-size: 18px; }
.order small, .order .muted { color: var(--muted); }
.order .phone { display: inline-block; margin-top: 4px; font-weight: 600; text-decoration: none; }
.order .lines { display: grid; gap: 4px; margin: 12px 0 0; }
.order .status { width: auto; min-width: 160px; }
.order-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.order-foot .btn { width: auto; min-height: 42px; padding: 0 16px; color: #8d3d32; }
.empty { background: white; border-radius: 22px; padding: 28px; color: var(--muted); }
.editor { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.editor-side { display: grid; gap: 10px; }
.editor-list { display: grid; gap: 8px; max-height: calc(100vh - 220px); overflow: auto; }
.editor-list button.item {
  width: 100%; text-align: left; background: white; border: 1px solid var(--line); border-radius: 16px;
  padding: 8px; display: flex; flex-direction: row; gap: 10px; align-items: center;
  appearance: none; -webkit-appearance: none; overflow: hidden; white-space: normal;
}
.editor-list button.item img {
  width: 56px; height: 72px; max-width: 56px; min-width: 56px; flex: 0 0 56px;
  object-fit: cover; border-radius: 10px; background: var(--cream); display: block;
}
.editor-list button.item span { min-width: 0; text-align: left; }
.editor-list button.item.on { border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.admin-form { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: grid; gap: 14px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drop {
  position: relative; display: grid; min-height: 190px; place-items: center; text-align: center;
  border: 1.5px dashed rgba(30, 32, 30, .22); border-radius: 18px; background: var(--milk); overflow: hidden; cursor: pointer;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop img { width: 100%; height: 240px; object-fit: cover; }
.drop span { color: var(--muted); padding: 20px; }
.drop.has span {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  background: white; color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 600; white-space: nowrap;
}
.switch { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.switch input { width: 18px; height: 18px; }
.picks { display: grid; gap: 8px; }
.picks .pick {
  display: flex; align-items: center; gap: 10px; background: var(--milk); border-radius: 14px; padding: 10px 12px;
  text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 600; color: var(--ink);
}
.hint { margin: 0; color: var(--muted); font-size: 13px; }
.error { color: #8d3d32; font-size: 14px; margin: 0; }

@keyframes menuLink { to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
  .menu {
    display: flex; position: fixed; inset: 0; z-index: 40; margin: 0;
    border: 0; border-radius: 0; background: var(--milk);
    flex-direction: column; align-items: center; justify-content: center;
    padding: 96px 24px 72px; gap: 12px; overflow: auto;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .menu.open { opacity: 1; visibility: visible; pointer-events: auto; }
  .menu a {
    font-family: var(--serif); font-size: 34px; line-height: 1;
    width: min(320px, 100%); justify-content: center; text-align: center;
    padding: 18px 16px; border-radius: 22px; background: white;
    border: 1px solid var(--line); opacity: 0; transform: translateY(16px);
  }
  .menu.open a { animation: menuLink .5s cubic-bezier(.2,.8,.2,1) forwards; }
  .menu.open a:nth-child(1) { animation-delay: .04s; }
  .menu.open a:nth-child(2) { animation-delay: .1s; }
  .menu.open a:nth-child(3) { animation-delay: .16s; }
  .menu.open a:nth-child(4) { animation-delay: .22s; }
  .nav-end { margin-left: auto; }
  .burger { display: inline-grid; position: relative; z-index: 50; }
  body.menu-open { overflow: hidden; }
  .hero-stage, .quiz, .visit, .journal, .quotes, .grid, .modal-grid, .editor, .foot { grid-template-columns: 1fr; }
  .hero { padding: 8px 0 0; }
  .hero-stage { gap: 18px; }
  .hero-frame { order: -1; height: 400px; min-height: 0; border-radius: 26px; }
  .hero-frame .side { display: none; }
  .hero-copy h1 { max-width: 12ch; font-size: clamp(42px, 11vw, 60px); }
  .grid { grid-template-columns: 1fr 1fr; }
  .home-grid { grid-template-columns: 1fr; }
  .grid.market { grid-template-columns: 1fr 1fr; }
  .journal .jcard:first-child img, .jcard img { height: 220px; }
  .editor-list { display: flex; max-height: none; overflow-x: auto; padding-bottom: 4px; }
  .editor-list button.item { width: 132px; flex: 0 0 132px; flex-direction: column; align-items: stretch; }
  .editor-list button.item img { width: 100%; max-width: none; min-width: 0; height: 108px; flex: none; }
  .section-head { flex-direction: column; align-items: stretch; }
  .section-head .btn { width: 100%; }
}
@media (max-width: 640px) {
  .wrap { width: min(1180px, calc(100% - 28px)); }
  section { padding: 40px 0; }
  .hero { padding: 8px 0 28px; }
  .hero-frame { height: 300px; }
  .hero .actions { margin-bottom: 4px; }
  .grid { grid-template-columns: 1fr; }
  .grid.market { grid-template-columns: 1fr 1fr; gap: 12px; }
  .market .card .name { font-size: 22px; }
  .market .price-tag { padding: 6px 12px 7px; }
  .market .price-tag b { font-size: 22px; }
  .market .card .row .btn { min-height: 44px; font-size: 13px; padding: 8px; }
  .card .quick { opacity: 1; }
  h1 { font-size: 46px; }
  .menu a { font-size: 30px; }
  .choices, .row2, .toolbar { grid-template-columns: 1fr; flex-direction: column; align-items: stretch; }
  .sort { width: 100%; }
  .foot-bar { flex-direction: column; }
}
