/* Home page refinements — everything scoped under .page-home */
.page-home{--hx-rule:linear-gradient(90deg,var(--gold),transparent);--hx-gt:#7A5518}
[data-theme=dark] .page-home{--hx-gt:var(--gold-l)}
.page-home .hx-q .pill,.page-home .hx-tile .pill{color:var(--hx-gt)}

/* ---------- section rhythm ---------- */
.page-home .section{padding-block:clamp(60px,9vw,120px)}
.page-home .section-head{margin-bottom:clamp(26px,4vw,48px)}
.page-home .section-head h2{font-size:clamp(28px,3.6vw,46px);letter-spacing:-.015em}
.page-home .hx-eb{display:block;margin-bottom:10px;font-size:12.5px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--hx-gt)}
.lang-fa.page-home .hx-eb,.lang-ar.page-home .hx-eb{letter-spacing:0;font-size:14px}
.page-home .statement .hx-eb,.page-home .hx-commission .hx-eb,.page-home .hx-news .hx-eb{color:var(--gold-l)}
.page-home .hx-head h2::after{content:"";display:block;width:64px;height:2px;margin-top:16px;background:var(--hx-rule);transform-origin:left center;scale:0 1;transition:scale 1.1s var(--ease) .25s}
[dir=rtl].page-home .hx-head h2::after{transform-origin:right center;background:linear-gradient(270deg,var(--gold),transparent)}
.page-home .hx-head.is-in h2::after{scale:1 1}
.page-home .hx-center{justify-content:center;text-align:center}
.page-home .hx-center h2::after{margin-inline:auto;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
.page-home .hx-center p{max-width:560px;margin-inline:auto}
.page-home .link-arrow{min-height:44px}
[dir=rtl].page-home .link-arrow::after{content:"←"}
[dir=rtl].page-home .link-arrow:hover::after{transform:translateX(-4px)}

/* ---------- featured works: every card on the same line (no stagger, no per-card parallax) ---------- */
.page-home .hx-depth{transform:none!important}
.page-home .hx-depth-grid{align-items:start}

/* ---------- shop by ---------- */
.page-home .hx-shop{background:var(--paper);border-block:1px solid var(--line)}
.hx-tiles{list-style:none;margin:0;padding:0;display:grid;gap:14px;grid-template-columns:minmax(0,1fr)}
.page-home .hx-tile{position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);gap:16px;align-items:center;padding:12px;min-height:128px;border-radius:20px;background:var(--tint);border:1px solid var(--line);text-decoration:none;color:var(--text);overflow:hidden;transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:border-color .3s,box-shadow .5s var(--ease),transform .5s var(--ease)}
.page-home .hx-tile.is-tilting{transition:border-color .3s,box-shadow .5s var(--ease),transform .08s linear}
.page-home .hx-tile::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(260px circle at var(--gx,50%) var(--gy,50%),rgba(230,200,134,.22),transparent 60%);transition:opacity .3s}
.page-home .hx-tile.is-tilting::after{opacity:1}
.page-home .hx-tile:hover{border-color:rgba(201,160,90,.7);box-shadow:0 30px 60px -32px rgba(22,18,14,.5)}
.hx-tile-media{display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--hx-c,#2a2119)}
.hx-tile-media picture{display:block;width:100%;height:100%}
.hx-tile-media img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.hx-tile:hover .hx-tile-media img{transform:scale(1.06)}
.hx-tile-body{display:grid;gap:4px;align-content:center}
.hx-tile-body strong{font-size:clamp(18px,2vw,22px);line-height:1.25}
.hx-tile-body small{color:var(--muted);font-size:13.5px;line-height:1.55}
.hx-tile-count{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--hx-gt)}
.lang-fa .hx-tile-count,.lang-ar .hx-tile-count{letter-spacing:0;font-size:13px}
.hx-tile-cta{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-weight:800;font-size:14px;min-height:24px}
.hx-tile-cta svg{width:18px;height:18px;transition:transform .3s var(--ease)}
.hx-tile:hover .hx-tile-cta svg{transform:translateX(4px)}
[dir=rtl] .hx-tile-cta svg{transform:scaleX(-1)}
[dir=rtl] .hx-tile:hover .hx-tile-cta svg{transform:scaleX(-1) translateX(4px)}
@media (min-width:760px){
  .hx-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2vw,28px)}
  .page-home .hx-tile{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:14px 14px 22px}
  .hx-tile-media{aspect-ratio:5/4}
  .hx-tile-body{padding:18px 8px 0;gap:6px}
}

/* ---------- press and guest quotes ---------- */
.page-home .hx-press{background:var(--paper)}
.hx-q-ctl{display:flex;gap:10px;flex:none}
.hx-q-ctl[hidden]{display:none}
.hx-round{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:var(--tint);color:var(--text);cursor:pointer;transition:background .2s,border-color .2s,color .2s,opacity .2s}
.hx-round svg{display:block;width:20px;height:20px}
[dir=rtl] .hx-round svg{transform:scaleX(-1)}
.hx-round:hover:not(:disabled){background:var(--gold);border-color:var(--gold);color:#16120E}
.hx-round:disabled{opacity:.35;cursor:default}
.hx-q-track{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;padding-block:4px 10px;margin-inline:calc(var(--gutter) * -1);padding-inline:var(--gutter);scroll-padding-inline:var(--gutter)}
.hx-q-track::-webkit-scrollbar{display:none}
.hx-q-track:focus-visible{outline-offset:-2px}
.hx-q{position:relative;flex:0 0 min(86%,400px);scroll-snap-align:start;margin:0;padding:30px 28px 26px;border-radius:22px;background:var(--tint);border:1px solid var(--line);display:flex;flex-direction:column;gap:20px;transition:transform .5s var(--ease),box-shadow .5s var(--ease),border-color .3s}
.hx-q:hover{transform:translateY(-4px);border-color:rgba(201,160,90,.6);box-shadow:0 28px 50px -34px rgba(22,18,14,.5)}
.hx-q-mark{width:38px;height:38px;color:var(--hx-gt);stroke-width:1.5;opacity:.85}
.hx-q blockquote{margin:0;flex:1}
.hx-q blockquote p{margin:0;font-family:var(--display);font-size:clamp(21px,2.1vw,25px);font-weight:700;line-height:1.38;color:var(--text);display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden}
.lang-fa .hx-q blockquote p,.lang-ar .hx-q blockquote p{font-family:var(--font);font-size:clamp(17px,1.7vw,19px);font-weight:700;line-height:1.9}
.hx-q figcaption{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding-top:16px;border-top:1px solid var(--line)}
.hx-q figcaption b{font-size:15px}
.hx-q figcaption small{color:var(--muted);font-size:13px}
.hx-q-links{display:flex;flex-wrap:wrap;gap:6px 28px;margin:clamp(18px,3vw,30px) 0 0}
@media (min-width:1001px){.hx-q{flex-basis:calc((100% - 36px) / 3)}.hx-q-track{margin-inline:0;padding-inline:0;scroll-padding-inline:0}}

/* ---------- commission band ---------- */
.page-home .hx-commission{position:relative;overflow:hidden;color:var(--cream);background:radial-gradient(110% 120% at 85% 0%,#4A1724 0%,#2A1218 45%,#16120E 100%)}
.hx-com-deco{position:absolute;width:min(90vw,640px);inset-inline-end:-18%;top:-22%;stroke:var(--gold);stroke-width:.5;opacity:.16;pointer-events:none;animation:spin 180s linear infinite}
.hx-commission .wrap{position:relative}
.hx-com-head{max-width:720px;margin-inline:auto;text-align:center}
.hx-com-head h2{font-family:var(--display);font-size:clamp(34px,5.4vw,64px);line-height:1.05;font-weight:700;color:var(--cream);margin-bottom:18px}
.lang-fa .hx-com-head h2,.lang-ar .hx-com-head h2{font-family:var(--font);font-weight:900;line-height:1.3}
.hx-com-head p{color:#DCCFBB;font-size:clamp(16px,1.5vw,19px);max-width:560px;margin-inline:auto}
.hx-com-cta{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:26px}
.hx-commission .btn-ghost{color:var(--cream)}
.hx-com-time{display:inline-flex;align-items:center;gap:8px;margin-top:20px;font-size:14px;color:var(--gold-l)}
.hx-com-time svg{width:18px;height:18px}
.hx-steps{--p:0;position:relative;list-style:none;margin:clamp(36px,6vw,64px) 0 0;padding:0;display:grid;gap:26px}
.hx-steps::before{content:"";position:absolute;inset-inline-start:21px;top:22px;bottom:22px;width:2px;background:linear-gradient(var(--gold),var(--gold)) 0 0/100% calc(var(--p) * 100%) no-repeat,rgba(201,160,90,.22)}
[dir=rtl] .hx-steps::before{background-position:100% 0}
.hx-steps li{position:relative;display:grid;gap:4px;padding-inline-start:66px;align-content:start;min-height:44px}
.hx-step-n{position:absolute;inset-inline-start:0;top:0;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#16120E;border:1px solid var(--gold);color:var(--gold-l);font-family:var(--display);font-size:22px;font-weight:700;line-height:1}
.lang-fa .hx-step-n,.lang-ar .hx-step-n{font-family:var(--font);font-size:18px;font-weight:800}
.hx-steps strong{font-size:17px;color:var(--cream);padding-top:9px}
.hx-steps small{color:#CDBFA8;font-size:14px;line-height:1.6}
@media (min-width:900px){
  .hx-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
  .hx-steps::before{inset-inline:12.5%;top:21px;bottom:auto;height:2px;width:auto;background:linear-gradient(var(--gold),var(--gold)) 0 0/calc(var(--p) * 100%) 100% no-repeat,rgba(201,160,90,.22)}
  [dir=rtl] .hx-steps::before{background-position:100% 0}
  .hx-steps li{padding-inline-start:0;text-align:center;justify-items:center}
  .hx-step-n{position:relative;inset-inline-start:auto;margin-bottom:12px}
  .hx-steps strong{padding-top:0}
  .hx-steps small{max-width:230px}
}

/* ---------- trust row ---------- */
.page-home .hx-trust{background:var(--paper);border-block:1px solid var(--line);padding-block:clamp(44px,6vw,80px)}
.hx-trust-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(26px,4vw,40px) 16px}
.hx-trust-grid li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}
.hx-ico{display:grid;place-items:center;width:64px;height:64px;margin-bottom:8px;border-radius:50%;background:var(--tint);border:1px solid rgba(201,160,90,.5);color:var(--hx-gt);transition:transform .5s var(--ease),background .3s,color .3s}
.hx-ico svg{display:block;width:28px;height:28px;stroke-width:1.5}
.hx-trust-grid li:hover .hx-ico{transform:translateY(-4px) rotate(-4deg);background:var(--gold);color:#16120E}
.hx-trust-grid strong{font-size:16px;line-height:1.3}
.hx-trust-grid small{color:var(--muted);font-size:13.5px;line-height:1.55;max-width:230px}
@media (min-width:900px){.hx-trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.hx-trust-grid li+li{border-inline-start:1px solid var(--line);padding-inline:10px}}

/* ---------- newsletter / private previews ---------- */
.hx-news-panel{position:relative;overflow:hidden;display:grid;gap:28px;padding:clamp(26px,5vw,60px);border-radius:28px;color:var(--cream);background:radial-gradient(90% 140% at 100% 0%,rgba(201,160,90,.22),transparent 55%),linear-gradient(135deg,#2A1218,#16120E);border:1px solid var(--line-d)}
.hx-news-copy h2{font-family:var(--display);font-size:clamp(30px,4vw,48px);line-height:1.08;color:var(--cream);margin-bottom:14px}
.lang-fa .hx-news-copy h2,.lang-ar .hx-news-copy h2{font-family:var(--font);font-weight:900;line-height:1.35}
.hx-news-copy p{color:#DCCFBB;max-width:480px}
.hx-perks{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px;color:#E9DECB;font-size:14.5px}
.hx-perks li{display:flex;align-items:center;gap:10px}
.hx-perks svg{flex:none;width:18px;height:18px;color:var(--gold-l);stroke-width:2}
.hx-news-form{display:grid;gap:10px;align-content:center}
.page-home .hx-news-panel .hx-news-form input[type=email]{width:100%;min-height:52px;padding:0 20px;border-radius:999px;border:1px solid var(--line-d);background:#211A14;color:var(--cream)}
.page-home .hx-news-panel .hx-news-form input[type=email]::placeholder{color:#9C8E79}
.hx-news-form .btn{min-height:52px}
.hx-news-form .form-msg{color:var(--gold-l);min-height:1.4em}
.hx-news-form .form-msg.is-error{color:#F5A3B0}
.hx-news-note{margin:0;font-size:13px;color:#B8AA94}
.hx-news-panel.is-done .hx-news-note{display:none}
@media (min-width:860px){.hx-news-panel{grid-template-columns:1.15fr 1fr;gap:clamp(30px,5vw,72px);align-items:center}}

/* exhibitions list polish */
.page-home .ex-list li{transition:background .3s,padding-inline .3s var(--ease)}
.page-home .ex-list li:hover{background:var(--tint);padding-inline:14px}
.page-home .ex-year{font-family:var(--display);font-size:24px;line-height:1}

/* ---------- motion preferences ---------- */
.lite .hx-com-deco{animation:none}
.lite .hx-depth{transform:translate3d(0,var(--base,0px),0)}
@media (prefers-reduced-motion:reduce){
  .hx-com-deco{animation:none}
  .page-home .hx-tile{transform:none}
  .page-home .hx-head h2::after{scale:1 1}
  .hx-q-track{scroll-behavior:auto}
  .hx-trust-grid li:hover .hx-ico,.hx-q:hover{transform:none}
}

/* Phones and tablets: the flat painting is the first paint (fast LCP, no 3D download).
   Desktops that can run the 3D scene (same test as js/build/hero3d.js) never show the flat painting, so no other picture
   flashes before the floating frames: the hero opens on its glow and pattern, and the frames rise in once the page is idle.
   If the 3D scene is skipped or fails, .h3d-off fades the flat painting in instead */
.hero-art picture{transition:opacity .9s var(--ease)}
@media (min-width:900px) and (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  html:not(.no-js):not(.lite):not(.h3d-off) .hero-art picture{opacity:0;transition:none}
}

/* ================= HOMAVERSE home sections ================= */
.page-home .hero h1 .brand-display{font-size:clamp(54px,9.4vw,118px)}
.page-home .section-head p{max-width:620px}

/* ---------- discover band ---------- */
.page-home .hx-discover{background:var(--paper);border-block:1px solid var(--line)}
.hx-disc-grid{display:grid;gap:clamp(28px,5vw,72px);align-items:center}
.hx-disc-copy h2{font-size:clamp(28px,3.6vw,46px);letter-spacing:-.015em;margin-bottom:14px}
.hx-disc-copy p{color:var(--muted);max-width:540px;margin-bottom:20px}
.hx-disc-chips{list-style:none;margin:0 0 26px;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.hx-disc-chips li{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:var(--tint);font-size:14px;font-weight:700}
.hx-disc-chips svg{flex:none;width:18px;height:18px;fill:none;stroke:var(--hx-gt);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hx-disc-art{position:relative;height:clamp(250px,34vw,400px);max-width:520px;width:100%;margin-inline:auto}
.hx-disc-card{position:absolute;top:50%;inset-inline-start:50%;width:44%;aspect-ratio:4/5;border-radius:6px;overflow:hidden;background:var(--hx-c,#2a2119);box-shadow:0 0 0 5px #FFFDF8,0 0 0 6px rgba(138,100,36,.36),0 30px 50px -24px rgba(22,18,14,.6);translate:-50% -50%;transition:rotate .8s var(--ease),translate .8s var(--ease)}
[dir=rtl] .hx-disc-card{translate:50% -50%}
[data-theme=dark] .hx-disc-card{box-shadow:0 0 0 5px #0D0B09,0 0 0 6px rgba(201,160,90,.55),0 30px 50px -22px rgba(0,0,0,.9)}
.hx-disc-card img{width:100%;height:100%;object-fit:cover}
.hx-disc-card-0{z-index:3}
.hx-disc-card-1{z-index:2;rotate:-9deg;translate:-108% -50%}
.hx-disc-card-2{z-index:1;rotate:9deg;translate:8% -50%}
[dir=rtl] .hx-disc-card-1{translate:108% -50%;rotate:9deg}
[dir=rtl] .hx-disc-card-2{translate:-8% -50%;rotate:-9deg}
.hx-disc-grid:hover .hx-disc-card-1{rotate:-13deg;translate:-118% -52%}
.hx-disc-grid:hover .hx-disc-card-2{rotate:13deg;translate:18% -52%}
[dir=rtl] .hx-disc-grid:hover .hx-disc-card-1{rotate:13deg;translate:118% -52%}
[dir=rtl] .hx-disc-grid:hover .hx-disc-card-2{rotate:-13deg;translate:-18% -52%}
.hx-disc-swatches{position:absolute;z-index:4;inset-inline:0;bottom:0;display:flex;justify-content:center;gap:8px}
.hx-disc-swatches i{width:22px;height:22px;border-radius:50%;background:var(--c);border:2px solid var(--paper);box-shadow:0 4px 10px -4px rgba(22,18,14,.5)}
@media (min-width:900px){.hx-disc-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}}

/* ---------- featured artists ---------- */
.hx-artist-grid{list-style:none;margin:0;padding:0;display:grid;gap:clamp(16px,2vw,28px);grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.hx-artist{position:relative;display:flex;flex-direction:column;height:100%;border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;background:var(--paper);border:1px solid var(--line);transition:border-color .3s,box-shadow .5s var(--ease),transform .5s var(--ease)}
.hx-artist:hover{border-color:rgba(201,160,90,.7);box-shadow:0 30px 60px -34px rgba(22,18,14,.55);transform:translateY(-4px)}
.hx-artist-ph{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:radial-gradient(110% 120% at 80% 0%,#4A1724 0%,#2A1218 45%,#16120E 100%)}
.hx-artist-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;transition:transform 1s var(--ease)}
/* phones: portraits are mostly upright photographs, so the card shows them upright (face and figure, as on the artist page) */
@media (max-width:859px){.hx-artist-ph{aspect-ratio:4/5;max-height:min(70vh,560px)}}
.hx-artist:hover .hx-artist-ph img{transform:scale(1.05)}
.hx-artist-ph .ax-mono{position:absolute;inset:0;display:grid;place-items:center;color:#E6C886}
.hx-artist-ph .ax-mono svg{position:absolute;inset:0;margin:auto;width:min(62%,190px);height:auto;aspect-ratio:1;fill:none;stroke:#C9A05A;stroke-width:.8;opacity:.6;transition:transform 1.2s var(--ease)}
.hx-artist:hover .ax-mono svg{transform:rotate(30deg) scale(1.05)}
.hx-artist-ph .ax-mono b{position:relative;font-family:var(--display);font-size:clamp(44px,7vw,66px);font-weight:700;letter-spacing:.04em;line-height:1}
.hx-artist-body{display:grid;gap:6px;align-content:start;padding:20px 22px 24px;flex:1}
.hx-artist-body strong{font-size:clamp(19px,2vw,23px);line-height:1.25}
.hx-artist-body small{color:var(--muted);font-size:14px;line-height:1.55}
.hx-artist-meta{font-size:12.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--hx-gt)}
:is(.lang-fa,.lang-ar) .hx-artist-meta{letter-spacing:0;font-size:13.5px}
.hx-artist-works{display:none}
/* one artist: a wide feature card with a strip of their works */
@media (min-width:860px){
  .hx-artist-grid.is-solo{grid-template-columns:minmax(0,1fr)}
  .is-solo .hx-artist{flex-direction:row;align-items:stretch}
  .is-solo .hx-artist-ph{flex:none;width:clamp(220px,24vw,300px);aspect-ratio:auto;min-height:300px}
  .is-solo .hx-artist-body{align-content:center;padding:28px clamp(22px,3vw,40px);flex:1 1 250px}
  .is-solo .hx-artist-works{flex:2.1 1 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;align-items:center;padding:22px;padding-inline-start:0}
  .is-solo .hx-artist-works img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:8px;box-shadow:0 14px 26px -16px rgba(22,18,14,.6);transition:transform .7s var(--ease)}
  .is-solo .hx-artist:hover .hx-artist-works img:nth-child(odd){transform:translateY(-6px)}
  .is-solo .hx-artist:hover .hx-artist-works img:nth-child(even){transform:translateY(6px)}
}
@media (min-width:860px) and (max-width:1099px){.is-solo .hx-artist-works{grid-template-columns:repeat(2,minmax(0,1fr))}.is-solo .hx-artist-works img:nth-child(n+3){display:none}}

/* ---------- NFT collections ---------- */
.page-home .hx-nft{position:relative;overflow:hidden;color:#F5EEE3;background:radial-gradient(120% 130% at 12% 0%,#3A1420 0%,#211017 42%,#120F0D 100%)}
.page-home .hx-nft .hx-eb,.page-home .hx-nft .link-arrow{color:#E6C886}
.page-home .hx-nft .section-head h2{color:#F5EEE3}
.page-home .hx-nft .section-head p{color:#CDBFA8}
.hx-drop-grid{list-style:none;margin:0;padding:0;display:grid;gap:clamp(16px,2vw,28px);grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
.hx-drop-grid>li:only-child{max-width:460px}
.hx-drop{display:flex;flex-direction:column;height:100%;border-radius:20px;overflow:hidden;text-decoration:none;color:inherit;background:rgba(255,255,255,.045);border:1px solid rgba(201,160,90,.22);transition:border-color .3s,transform .5s var(--ease),box-shadow .5s var(--ease)}
.hx-drop:hover{border-color:rgba(230,200,134,.7);transform:translateY(-4px);box-shadow:0 34px 60px -34px rgba(0,0,0,.9)}
.hx-drop-media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;background:var(--hx-c,#2a2119)}
.hx-drop-media img{width:100%;height:100%;object-fit:cover;transition:transform 1s var(--ease)}
.hx-drop:hover .hx-drop-media img{transform:scale(1.05)}
.hx-drop-phase{position:absolute;top:12px;inset-inline-start:12px;display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:0 11px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.03em;background:rgba(18,15,13,.82);color:#F5EEE3;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
:is(.lang-fa,.lang-ar) .hx-drop-phase{letter-spacing:0;font-size:12.5px}
.hx-drop-phase.is-live{background:linear-gradient(135deg,#F1D48C,#C9A05A);color:#16120E}
.hx-drop-phase.is-live i{width:7px;height:7px;border-radius:50%;background:#8E1F35;animation:hxPulse 1.6s ease-in-out infinite}
.hx-drop-phase.is-ended,.hx-drop-phase.is-sold_out{color:#CDBFA8}
@keyframes hxPulse{50%{opacity:.25;transform:scale(.7)}}
.hx-drop-body{display:grid;gap:6px;align-content:start;padding:18px 20px 20px;flex:1}
.hx-drop-body strong{font-size:19px;line-height:1.3}
.hx-drop-body small{color:#CDBFA8;font-size:13.5px}
.hx-drop-bar{display:block;height:5px;margin-top:8px;border-radius:999px;background:rgba(255,255,255,.12);overflow:hidden}
.hx-drop-bar i{display:block;height:100%;width:calc(var(--v) * 100%);min-width:5px;border-radius:inherit;background:linear-gradient(90deg,#C9A05A,#F1D48C)}
.hx-drop-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin-top:4px;font-size:13px;color:#CDBFA8}
.hx-drop-foot .hx-tile-cta{margin:0;color:#E6C886}
.hx-nft-empty{display:grid;gap:18px;justify-items:start;align-items:center;padding:clamp(22px,3vw,34px);border-radius:20px;background:rgba(255,255,255,.045);border:1px dashed rgba(201,160,90,.4)}
.hx-nft-empty svg{width:46px;height:46px;fill:none;stroke:#E6C886;stroke-width:1.4;stroke-linejoin:round}
.hx-nft-empty strong{display:block;font-size:20px;margin-bottom:4px}
.hx-nft-empty p{margin:0;color:#CDBFA8}
@media (min-width:760px){.hx-nft-empty{grid-template-columns:auto minmax(0,1fr) auto}}

/* ---------- about HOMAVERSE ---------- */
.page-home .hx-about .stats{grid-template-columns:repeat(4,1fr)}
.hx-about-head{display:grid;gap:6px;justify-items:start}
.hx-about-emblem{--logo-h:clamp(84px,9vw,120px);margin-top:18px;opacity:.96}
.hx-about-emblem .brand-img{height:var(--logo-h)}
@media (max-width:560px){.page-home .hx-about .stats{grid-template-columns:repeat(2,1fr)}.page-home .hx-about .stats div:nth-child(3){border-inline-start:0}.page-home .hx-about .stats div:nth-child(n+3){border-top:1px solid var(--line-d)}}

/* ---------- trust heading ---------- */
.page-home .hx-trust .section-head{margin-bottom:clamp(26px,4vw,44px)}

@media (prefers-reduced-motion:reduce){
  .hx-artist,.hx-drop,.hx-disc-card,.hx-artist-ph img,.hx-drop-media img,.is-solo .hx-artist-works img{transition:none}
  .hx-artist:hover,.hx-drop:hover{transform:none}
  .hx-drop-phase.is-live i{animation:none}
}

/* ---------- what's on: one or two cards never stretch across the whole row ---------- */
/* every card on one row from tablets up (--n = how many there are), each at most ~400px wide so two never stretch; phones stack */
.page-home .now-grid{grid-template-columns:minmax(0,1fr)}
@media (min-width:700px){
  .page-home .now-grid{grid-template-columns:repeat(var(--n,3),minmax(0,1fr));max-width:calc(var(--n,3) * 400px + (var(--n,3) - 1) * clamp(16px,2vw,26px))}
}
@media (min-width:760px){
  /* a single item becomes a wide, low banner instead of one tall card */
  .page-home .now-grid:has(>.now-card:only-child){grid-template-columns:minmax(0,820px)}
  .page-home .now-card:only-child{grid-template-rows:none;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
  .page-home .now-card:only-child .now-media{aspect-ratio:auto;min-height:240px;height:100%}
  .page-home .now-card:only-child .now-body{align-content:center}
}
/* a post or event without a cover still gets a mark, never an empty panel */
.page-home .now-media:not(:has(img))::after{content:"";position:absolute;inset:0;margin:auto;width:min(46%,170px);aspect-ratio:356/240;background:url("../../img/brand/emblem-dark.webp") center/contain no-repeat;opacity:.5}
