/* =========================================================
   Telsem Online Art Gallery: storefront styles
   Gallery-wall palette: warm white walls, ink text, terracotta accent.
   ========================================================= */
:root {
  --wall: #f5f1e8;        /* page background, like a gallery wall */
  --paper: #fffdf8;       /* cards, panels */
  --ink: #1c1814;
  --ink-2: #4a423a;
  --muted: #7b7165;
  --line: #e3dace;
  --accent: #b5502d;      /* terracotta (from the current Sign up button) */
  --accent-2: #93401f;
  --indigo: #34496b;      /* from the current Checkout button */
  --ok: #2f7a4b;
  --sold: #a33a2a;
  --radius: 14px;
  --max: 1280px;
  --shadow: 0 1px 2px rgba(28,24,20,.06), 0 12px 32px -12px rgba(28,24,20,.22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: "Fraunces", "Noto Serif Ethiopic", Georgia, serif;
  --sans: "Inter", "Noto Sans Ethiopic", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--wall); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #efe8dc; font-size: .82rem; text-align: center; padding: 8px 16px; }
.announce b { color: #f3c9a8; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,241,232,.9); backdrop-filter: blur(12px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 4px; list-style: none; margin-right: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(28,24,20,.06); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(28,24,20,.07); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid transparent; background: none; transition: background .2s; }
.icon-btn:hover { background: rgba(28,24,20,.06); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.cur { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--paper); }
.cur button { border: 0; background: none; font-size: .76rem; font-weight: 700; letter-spacing: .5px; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.cur button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .menu-btn { display: inline-grid; margin-left: -8px; }
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--wall); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(0,0,0,.08); display: none; margin: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 8px; border-radius: 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .logo { margin-right: auto; }
  .logo img { height: 34px; }
}
@media (max-width: 420px) { .cur button { padding: 5px 7px; } .logo img { height: 30px; } }

/* ---------- Search overlay ---------- */
.search-pop { position: fixed; inset: 0; z-index: 90; background: rgba(28,24,20,.45); backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.search-pop[hidden] { display: none; }
.search-box { width: min(680px, 100%); background: var(--paper); border-radius: 18px; box-shadow: 0 40px 100px rgba(0,0,0,.3); overflow: hidden; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
.search-box input { width: 100%; border: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; font-size: 1.15rem; background: none; }
.search-box input:focus { outline: none; }
.search-results { max-height: 60vh; overflow: auto; }
.sr-item { display: flex; gap: 14px; align-items: center; padding: 10px 22px; }
.sr-item:hover, .sr-item:focus { background: var(--wall); outline: none; }
.sr-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; background: var(--line); }
.sr-item small { display: block; color: var(--muted); }
.sr-empty { padding: 26px 22px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(181,80,45,.7); }
.btn-primary:hover { background: var(--accent-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-line { border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-soft { background: var(--paper); border-color: var(--line); }
.btn-soft:hover { border-color: var(--ink); }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-wa:hover { background: #17864a; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .88rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.link { font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.hero h1 { font: 500 clamp(2.6rem, 5.6vw, 4.6rem)/1.02 var(--serif); letter-spacing: -.025em; margin: 18px 0 20px; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero p.lead { font-size: 1.14rem; color: var(--ink-2); max-width: 520px; margin-bottom: 30px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: flex; gap: 28px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-facts div { display: grid; }
.hero-facts b { font: 500 1.8rem/1.1 var(--serif); }
.hero-facts div > span { font-size: .84rem; color: var(--muted); }
.hero-wall { position: relative; aspect-ratio: 1 / .92; }
.hero-wall .frame { position: absolute; background: var(--paper); padding: 10px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 60px -20px rgba(28,24,20,.45); transition: transform .5s var(--ease); }
.hero-wall .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-wall .frame:hover { transform: translateY(-6px) rotate(0deg) !important; z-index: 3; }
.hero-wall .f1 { left: 4%; top: 4%; width: 50%; height: 62%; transform: rotate(-2deg); }
.hero-wall .f2 { right: 2%; top: 0; width: 40%; height: 46%; transform: rotate(2.5deg); }
.hero-wall .f3 { right: 8%; bottom: 2%; width: 46%; height: 44%; transform: rotate(-1deg); z-index: 2; }
.hero-wall .tag { position: absolute; left: 0; bottom: 6%; z-index: 4; background: var(--paper); border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .85rem; max-width: 250px; }
.hero-wall .tag b { display: block; font-family: var(--serif); font-size: 1.02rem; font-weight: 500; }
@media (max-width: 900px) {
  .hero { padding: 28px 0 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-wall { order: -1; aspect-ratio: 1 / .78; }
}

/* ---------- Steps / trust ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.step { padding: 26px 28px; display: flex; gap: 16px; align-items: flex-start; }
.step + .step { border-left: 1px solid var(--line); }
.step .n { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--wall); border: 1px solid var(--line); font: 500 1.05rem var(--serif); color: var(--accent); }
.step h3 { font-size: 1rem; font-weight: 600; margin-bottom: 2px; }
.step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .step + .step { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-sm { padding: 44px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.sec-head h2 { font: 500 clamp(1.9rem, 3.6vw, 2.8rem)/1.08 var(--serif); letter-spacing: -.02em; }
.sec-head p { color: var(--muted); margin-top: 6px; max-width: 560px; }
.band { background: var(--paper); border-block: 1px solid var(--line); }

/* ---------- Painting cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 22px; }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid, .grid.g3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .grid, .grid.g3 { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; } }
.card { position: relative; display: flex; flex-direction: column; }
.card-wall { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #ece6da, #e6dfd1); border-radius: var(--radius); display: grid; place-items: center; padding: 11%; overflow: hidden; transition: background .3s; }
.card-wall img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 18px 30px -12px rgba(28,24,20,.5); transition: transform .5s var(--ease), box-shadow .5s; background: #ddd; }
.card:hover .card-wall img { transform: translateY(-4px) scale(1.03); box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 28px 40px -14px rgba(28,24,20,.55); }
.card-body { padding: 14px 2px 0; display: grid; gap: 1px; }
.card-title { font: 500 1.1rem/1.3 var(--serif); }
.card-meta { font-size: .86rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-price { font-weight: 600; margin-top: 4px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.card-price small { color: var(--muted); font-weight: 500; font-size: .8rem; }
.badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .7rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.badge.sold { background: var(--sold); color: #fff; }
.card.is-sold .card-wall img { filter: saturate(.7); opacity: .82; }
.quick-add { position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--paper); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: .25s var(--ease); }
.quick-add svg { width: 20px; height: 20px; }
.card:hover .quick-add, .quick-add:focus-visible, .quick-add.in { opacity: 1; transform: none; }
.quick-add.in { background: var(--ink); color: #fff; }
@media (hover: none) { .quick-add { opacity: 1; transform: none; width: 38px; height: 38px; } }
.card > a.cover { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius); }

/* ---------- Tiles (price / style) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 800px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.tile { position: relative; border-radius: 18px; padding: 24px 22px; background: var(--paper); border: 1px solid var(--line); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.tile:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.tile small { font-size: .78rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.tile b { font: 500 1.55rem/1.15 var(--serif); }
.tile span { font-size: .86rem; color: var(--muted); }
.tile.img { color: #fff; border: 0; min-height: 220px; background: #333 center / cover; justify-content: flex-end; gap: 4px; }
.tile.img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), rgba(0,0,0,.05) 60%); }
.tile.img > * { position: relative; }
.tile.img small, .tile.img span { color: rgba(255,255,255,.8); }

/* ---------- Artists ---------- */
.artists { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
@media (max-width: 1000px) { .artists { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .artists { grid-template-columns: repeat(2, 1fr); } }
.artist { display: grid; gap: 10px; text-align: center; }
.artist .av { aspect-ratio: 1; border-radius: 50%; background: #ddd center / cover; border: 6px solid var(--paper); box-shadow: var(--shadow); transition: transform .4s var(--ease); }
.artist:hover .av { transform: scale(1.04); }
.artist b { font: 500 1.05rem/1.2 var(--serif); }
.artist small { color: var(--muted); font-size: .82rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 500 1.2rem/1.35 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 300 1.8rem var(--sans); color: var(--accent); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 720px; }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: #f3ede3; border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { font: 500 clamp(1.9rem, 3.6vw, 2.8rem)/1.1 var(--serif); }
.cta p { color: #bfb5a6; margin-top: 10px; }
.cta .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta .btn-line { border-color: #f3ede3; color: #f3ede3; }
.cta .btn-line:hover { background: #f3ede3; color: var(--ink); }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; padding: 34px 24px; } .cta .ctas { justify-content: flex-start; } }

/* ---------- Footer ---------- */
footer { margin-top: 40px; border-top: 1px solid var(--line); padding: 56px 0 30px; background: var(--paper); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
.foot img { height: 40px; width: auto; margin-bottom: 14px; }
.foot h4 { font-size: .78rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; font-size: .94rem; }
.foot a:hover { color: var(--accent); }
.foot p { color: var(--ink-2); font-size: .94rem; max-width: 360px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .78rem; font-weight: 700; }
.socials a:hover { border-color: var(--ink); color: var(--ink); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Shop ---------- */
.page-head { padding: 44px 0 26px; }
.page-head h1 { font: 500 clamp(2.3rem, 5vw, 3.6rem)/1.05 var(--serif); letter-spacing: -.02em; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: 96px; display: grid; gap: 26px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.f-group h4 { font-size: .78rem; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.f-opts { display: grid; gap: 2px; }
.f-opt { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; font-size: .93rem; }
.f-opt:hover { background: rgba(28,24,20,.05); }
.f-opt input { accent-color: var(--accent); width: 16px; height: 16px; }
.f-opt small { margin-left: auto; color: var(--muted); font-size: .8rem; }
.f-more { background: none; border: 0; color: var(--accent); font-weight: 600; font-size: .88rem; padding: 6px 8px; text-align: left; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .93rem; cursor: pointer; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 11px; background: #d6cdbf; position: relative; transition: background .2s; cursor: pointer; flex-shrink: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(18px); }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: .92rem; margin-right: auto; }
.select { appearance: none; border: 1px solid var(--line); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c1814' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; padding: 10px 38px 10px 14px; border-radius: 999px; font-size: .9rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font-size: .82rem; }
.chip.clear { background: none; color: var(--accent); font-weight: 600; }
.filter-btn { display: none; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: 18px; }
.empty b { display: block; font: 500 1.4rem var(--serif); color: var(--ink); margin-bottom: 6px; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 900px) {
  .shop { grid-template-columns: 1fr; }
  .filter-btn { display: inline-flex; }
  .filters { position: fixed; inset: 0; z-index: 95; top: 0; max-height: none; background: var(--wall); padding: 20px 20px 100px; overflow: auto; transform: translateX(-100%); transition: transform .35s var(--ease); }
  .filters.open { transform: none; }
  .filters .f-close { display: flex; }
  .filters .f-apply { display: block; }
}
.f-close { display: none; justify-content: space-between; align-items: center; font: 500 1.5rem var(--serif); }
.f-apply { display: none; position: fixed; left: 20px; right: 20px; bottom: 20px; }

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding: 10px 0 60px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 26px; } }
.gallery { position: sticky; top: 96px; display: grid; gap: 12px; }
@media (max-width: 900px) { .gallery { position: relative; top: 0; } }
.stage { position: relative; background: linear-gradient(180deg, #ece6da, #e4dccd); border-radius: 18px; aspect-ratio: 1 / .95; display: grid; place-items: center; padding: 8%; cursor: zoom-in; overflow: hidden; }
.stage img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 34px 50px -20px rgba(28,24,20,.55); }
.stage .zoom-hint { position: absolute; right: 14px; bottom: 14px; font-size: .78rem; background: rgba(255,253,248,.9); padding: 6px 10px; border-radius: 999px; color: var(--ink-2); }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 76px; height: 76px; border-radius: 10px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--line); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.view-toggle { display: inline-flex; gap: 4px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; justify-self: start; }
.view-toggle button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
/* view on a wall: sofa is 200cm wide, painting scaled from its real size */
.room { position: relative; aspect-ratio: 1 / .95; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #e9e2d4 0 72%, #cdbfa8 72% 100%); }
.room .art { position: absolute; left: 50%; translate: -50% 0; box-shadow: 0 2px 3px rgba(0,0,0,.15), 0 24px 40px -14px rgba(0,0,0,.5); background: #ccc center / cover; }
.room .sofa { position: absolute; left: 50%; translate: -50% 0; bottom: 20%; }
.room .sofa svg { width: 100%; height: auto; display: block; }
.room .scale-note { position: absolute; left: 14px; bottom: 12px; font-size: .78rem; color: #5b5044; background: rgba(255,253,248,.85); padding: 5px 10px; border-radius: 999px; }
.p-info h1 { font: 500 clamp(2rem, 3.8vw, 2.9rem)/1.1 var(--serif); letter-spacing: -.02em; }
.p-artist { font-size: 1.05rem; color: var(--ink-2); margin-top: 8px; }
.p-artist a { border-bottom: 1px solid currentColor; }
.p-artist a:hover { color: var(--accent); }
.p-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; flex-wrap: wrap; }
.p-price b { font: 500 2.2rem/1 var(--serif); }
.p-price small { color: var(--muted); font-size: .95rem; }
.p-status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ok); }
.p-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.p-status.sold { color: var(--sold); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 24px 0; }
.specs div { background: var(--paper); padding: 14px 16px; }
.specs small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.specs b { font-weight: 600; font-size: .98rem; }
.buy { display: grid; gap: 10px; }
.buy-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.assure { display: grid; gap: 14px; margin-top: 26px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.assure > div { display: flex; gap: 14px; align-items: flex-start; font-size: .93rem; }
.assure svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.assure b { display: block; font-weight: 600; }
.assure span { color: var(--muted); }
.story { margin-top: 26px; color: var(--ink-2); }
.story h3 { font: 500 1.3rem var(--serif); color: var(--ink); margin-bottom: 8px; }
.story p + p { margin-top: 12px; }
.sticky-buy { display: none; }
@media (max-width: 900px) {
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,253,248,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .sticky-buy.show { transform: none; }
  .sticky-buy div { margin-right: auto; line-height: 1.25; min-width: 0; }
  .sticky-buy b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
  .sticky-buy small { color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,17,14,.95); display: grid; place-items: center; padding: 20px; animation: fade .2s; }
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.3rem; }

/* ---------- Drawer (cart) ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(28,24,20,.4); opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(430px, 100%); background: var(--wall); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease), box-shadow .35s; visibility: hidden; }
.drawer.open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(0,0,0,.15); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font: 500 1.5rem var(--serif); }
.drawer-body { flex: 1; overflow: auto; padding: 8px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper); display: grid; gap: 10px; }
.line-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; background: var(--line); }
.line-item b { font: 500 1.02rem/1.25 var(--serif); display: block; }
.line-item small { color: var(--muted); display: block; font-size: .82rem; }
.line-item .rm { background: none; border: 0; color: var(--muted); font-size: .82rem; text-decoration: underline; padding: 4px 0; }
.line-item .rm:hover { color: var(--sold); }
.line-item .amt { font-weight: 600; white-space: nowrap; }
.totals { display: grid; gap: 6px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; gap: 10px; }
.totals .grand { font-weight: 700; font-size: 1.1rem; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty b { display: block; font: 500 1.35rem var(--serif); color: var(--ink); margin-bottom: 6px; }

/* ---------- Checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.25fr .85fr; gap: 44px; align-items: start; padding-bottom: 60px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; gap: 26px; } .summary { order: -1; } }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
@media (max-width: 560px) { .panel { padding: 22px 18px; } }
.panel h2 { font: 500 1.45rem var(--serif); margin-bottom: 4px; display: flex; align-items: center; gap: 12px; }
.panel h2 .n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .85rem var(--sans); display: grid; place-items: center; }
.panel > p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }
.panel + .panel { margin-top: 18px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.field span small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--wall); border-radius: 12px; padding: 13px 14px; font-size: 1rem; font-weight: 400; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28,24,20,.08); background: #fff; }
.field textarea { min-height: 90px; resize: vertical; }
.field .err { display: none; color: var(--sold); font-weight: 500; font-size: .8rem; }
.field.bad input, .field.bad select { border-color: var(--sold); }
.field.bad .err { display: block; }
.pay-opt { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 2px solid var(--ink); border-radius: 14px; background: var(--wall); }
.pay-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 6px solid var(--ink); background: #fff; flex-shrink: 0; margin-top: 2px; }
.pay-opt b { display: block; }
.pay-opt span { font-size: .9rem; color: var(--muted); }
.summary { position: sticky; top: 96px; }
@media (max-width: 900px) { .summary { position: relative; top: 0; } }
.note { font-size: .84rem; color: var(--muted); text-align: center; }
.done { text-align: center; max-width: 640px; margin: 20px auto 80px; }
.done .tick { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 2.3rem; box-shadow: 0 0 0 12px rgba(47,122,75,.12); }
.done h1 { font: 500 clamp(2rem, 4vw, 2.8rem)/1.1 var(--serif); margin-bottom: 12px; }
.done p { color: var(--ink-2); }
.done .panel { text-align: left; margin: 28px 0; }
.done ol { padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }

/* ---------- Artist page ---------- */
.artist-head { display: flex; gap: 28px; align-items: center; padding: 40px 0 30px; flex-wrap: wrap; }
.artist-head .av { width: 130px; height: 130px; border-radius: 50%; background: #ddd center / cover; border: 6px solid var(--paper); box-shadow: var(--shadow); }
.artist-head h1 { font: 500 clamp(2.2rem, 4.6vw, 3.4rem)/1.05 var(--serif); }
.artist-head p { color: var(--muted); margin-top: 6px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; translate: -50% 0; background: var(--ink); color: #fff; padding: 12px 14px 12px 18px; border-radius: 999px; display: flex; gap: 14px; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.25); font-size: .92rem; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .3s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: none; pointer-events: auto; }
.toast button { background: #fff; color: var(--ink); border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .85rem; white-space: nowrap; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 600px) { .hero-wall .tag { display: none; } }

/* ---------- Artist profiles ---------- */
.av.sm { width: 52px; height: 52px; border-width: 3px; flex-shrink: 0; border-radius: 50%; background: #ddd center / cover; border: 3px solid var(--paper); box-shadow: var(--shadow); }
.artist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .artist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .artist-grid { grid-template-columns: 1fr; } }
.artist-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .2s; }
.artist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cfc4b3; }
.ac-art { aspect-ratio: 16 / 9; background: #ddd center / cover; }
.ac-body { display: flex; gap: 12px; align-items: center; padding: 0 20px; margin-top: -26px; }
.ac-body .av.sm { width: 60px; height: 60px; }
.ac-body > div:last-child { padding-top: 26px; }
.ac-body b { font: 500 1.2rem/1.2 var(--serif); display: block; }
.ac-body small { color: var(--muted); font-size: .84rem; }
.artist-card p { padding: 12px 20px 0; color: var(--ink-2); font-size: .92rem; flex: 1; }
.ac-foot { padding: 14px 20px 18px; font-size: .84rem; font-weight: 600; color: var(--accent); }
.profile { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; padding: 16px 0 70px; }
@media (max-width: 900px) { .profile { grid-template-columns: 1fr; gap: 32px; } }
.profile-id { display: flex; gap: 22px; align-items: center; margin-bottom: 26px; }
.profile-id .av { width: 112px; height: 112px; border-radius: 50%; background: #ddd center / cover; border: 5px solid var(--paper); box-shadow: var(--shadow); flex-shrink: 0; }
.profile-id h1 { font: 500 clamp(2.2rem, 4.4vw, 3.3rem)/1.05 var(--serif); letter-spacing: -.02em; margin-top: 4px; }
.profile-quote { font: italic 500 1.35rem/1.4 var(--serif); color: var(--accent); border-left: 3px solid var(--accent); padding-left: 18px; margin-bottom: 22px; }
.profile-bio p { font-size: 1.06rem; color: var(--ink-2); margin-bottom: 14px; max-width: 640px; }
.profile-bio .am summary { cursor: pointer; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.profile-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 22px 0 26px; }
.profile-facts div { background: var(--paper); padding: 13px 16px; }
.profile-facts div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.profile-facts dt { font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.profile-facts dd { font-weight: 600; }
.profile-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.profile-links { display: flex; gap: 18px; margin-top: 18px; }
.profile-feature { position: sticky; top: 100px; display: grid; gap: 12px; }
@media (max-width: 900px) { .profile-feature { position: relative; top: 0; } }
.pf-wall { background: linear-gradient(180deg, #ece6da, #e4dccd); border-radius: 20px; aspect-ratio: 1 / 1.05; display: grid; place-items: center; padding: 10%; }
.pf-wall img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 34px 50px -20px rgba(28,24,20,.55); transition: transform .5s var(--ease); }
.profile-feature:hover img { transform: translateY(-5px); }
.profile-feature span { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; color: var(--muted); }
.profile-feature span b { font: 500 1.1rem var(--serif); color: var(--ink); }
.about-artist { display: flex; gap: 16px; align-items: flex-start; margin-top: 26px; padding: 20px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s; }
.about-artist:hover { border-color: var(--ink); }
.about-artist small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.about-artist b { font: 500 1.2rem var(--serif); display: block; }
.about-artist p { color: var(--ink-2); font-size: .93rem; margin: 6px 0 10px; }

/* ---------- About ---------- */
.about-hero { padding: 40px 0 30px; }
.about-hero h1 { font: 500 clamp(2.6rem, 6vw, 5rem)/1.02 var(--serif); letter-spacing: -.025em; margin: 16px 0 20px; max-width: 900px; }
.about-hero h1 em { font-style: italic; color: var(--accent); }
.about-hero .lead { font-size: 1.18rem; color: var(--ink-2); max-width: 720px; }
.pull { margin-top: 30px; font: italic 500 1.3rem/1.4 var(--serif); color: var(--ink-2); border-left: 3px solid var(--accent); padding-left: 18px; }
.pull cite { display: block; font: 600 .82rem var(--sans); font-style: normal; color: var(--muted); margin-top: 4px; letter-spacing: .5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; }
.stats div { padding: 26px 24px; display: grid; }
.stats div + div { border-left: 1px solid var(--line); }
.stats b { font: 500 2.4rem/1.1 var(--serif); }
.stats span { color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.telsem-meaning { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .telsem-meaning { grid-template-columns: 1fr; gap: 36px; } }
.telsem-meaning h2 { font: 500 clamp(2rem, 3.8vw, 2.9rem)/1.1 var(--serif); margin: 12px 0 18px; }
.telsem-meaning p { color: var(--ink-2); margin-bottom: 14px; font-size: 1.04rem; }
.telsem-meaning p.am { font-family: "Noto Serif Ethiopic", serif; font-size: 1.02rem; color: var(--ink); background: var(--wall); border-radius: 12px; padding: 16px 18px; line-height: 1.8; }
.tm-art { position: relative; aspect-ratio: 1 / 1; }
.tm-art img { position: absolute; object-fit: cover; box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 30px 50px -20px rgba(28,24,20,.55); border: 8px solid var(--paper); }
.tm-art .t1 { left: 0; top: 6%; width: 52%; height: 56%; transform: rotate(-2deg); }
.tm-art .t2 { right: 6%; top: 0; width: 34%; height: 68%; transform: rotate(2deg); }
.tm-art .t3 { left: 18%; bottom: 0; width: 48%; height: 44%; transform: rotate(1deg); z-index: 1; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.value .n { font: 500 1rem var(--serif); color: var(--accent); }
.value h3 { font: 500 1.5rem/1.2 var(--serif); margin: 10px 0 8px; }
.value p { color: var(--ink-2); }
.artist-cta { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 40px; }
@media (max-width: 800px) { .artist-cta { grid-template-columns: 1fr; padding: 26px 20px; gap: 26px; } }
.artist-cta h2 { font: 500 clamp(1.9rem, 3.4vw, 2.6rem)/1.1 var(--serif); margin: 12px 0 14px; }
.artist-cta p { color: var(--ink-2); margin-bottom: 22px; }
.artist-cta .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ac-imgs a { aspect-ratio: 3 / 4; border-radius: 14px; background: #ddd center / cover; transition: transform .4s var(--ease); }
.ac-imgs a:nth-child(2) { transform: translateY(-16px); }
.ac-imgs a:hover { transform: translateY(-6px); }

/* ---------- Contact ---------- */
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
@media (max-width: 800px) { .contact-ways { grid-template-columns: 1fr; } }
.way { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 2px; transition: border-color .2s, transform .3s var(--ease); }
a.way:hover { border-color: var(--ink); transform: translateY(-3px); }
.way-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--wall); border: 1px solid var(--line); color: var(--accent); font-size: 1.15rem; margin-bottom: 12px; }
.way-ico.wa { background: #1f9d55; color: #fff; border: 0; }
.way small { font-size: .74rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.way b { font: 500 1.35rem/1.25 var(--serif); }
.way > span:last-child { color: var(--muted); font-size: .9rem; }
.way-links { display: flex; gap: 14px; margin-top: 6px; }
.way-links .link { font-size: .9rem; color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 34px; align-items: start; padding-bottom: 70px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.topic-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.topic-pills input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pills span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .88rem; font-weight: 600; cursor: pointer; background: var(--wall); transition: all .2s; }
.topic-pills label:hover span { border-color: var(--ink); }
.topic-pills input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.topic-pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field textarea { min-height: 140px; }
.field .err { font-style: normal; }
.hp { position: absolute; left: -9999px; }
.sent { text-align: center; padding: 30px 10px; }
.sent[hidden] { display: none; }
.sent .tick { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 2rem; }
.sent h3 { font: 500 1.6rem var(--serif); margin-bottom: 8px; }
.sent p { color: var(--ink-2); margin-bottom: 18px; }
.contact-side img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 14px; }
.faq.mini summary { font-size: 1.08rem; padding: 16px 36px 16px 0; }
.faq.mini details p { padding-bottom: 16px; font-size: .95rem; }
