/* Homepage v6 (index.html, php/home_launch.php, assets/js/home.js): the three offers as cards that open
   on hover, the search under them, then the sections, separated by full-width lines of light. */
.hv-main { --hv-ease: cubic-bezier(.22,1,.36,1); --hv-line: rgba(170,190,220,.08); --hv-line2: rgba(170,190,220,.17); --hv-mu: rgba(225,232,245,.58); --hv-v: #a78bfa; --hv-v2: #c4b5fd; overflow-x: clip; padding-top: 0 !important; }
.hv-main .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hv-main a { text-decoration: none; }

/* ── opening ─────────────────────────────────────────────────────────────── */
.hv { position: relative; width: min(calc(100% - 56px), var(--home-wrap)); margin: 0 auto; padding-top: 34px; isolation: isolate; }
.hv::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 80px; width: min(1400px, 100vw); height: 900px; transform: translateX(-50%); pointer-events: none;
  display: none; }
.hv-doors { display: flex; align-items: flex-end; gap: 6px; height: 600px; }
.hv-door { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; height: 540px; padding: 24px; overflow: hidden; isolation: isolate; color: #fff;
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: #0f1013;
  transition: flex-grow .7s var(--hv-ease), height .7s var(--hv-ease), border-color .3s, opacity .4s; }
.hv-door:first-child { border-radius: 30px 10px 10px 30px; }
.hv-door:last-child { border-radius: 10px 30px 30px 10px; }
.hv-door.is-pro { flex-grow: 1.12; height: 600px; border-radius: 24px; border-color: rgba(167,139,250,.32); background: #0e0b1a; }
.hv-doors.is-hov .hv-door { opacity: .62; }
.hv-doors.is-hov .hv-door.is-on { opacity: 1; flex-grow: 1.38; }
.hv-doors.is-hov .hv-door.is-on:not(.is-pro) { height: 600px; }
.hv-bg { position: absolute; inset: 0; z-index: -3; }
.hv-bg img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s, transform 6s linear; }
.hv-bg img.on { opacity: 1; transform: scale(1); }
.hv-door::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(11,12,15,.97) 0, rgba(11,12,15,.5) 42%, transparent 70%); }
.hv-door.is-pro::after { background: linear-gradient(0deg, rgba(11,9,20,.98) 0, rgba(14,11,26,.62) 45%, rgba(14,11,26,.08) 75%); }
.hv-glow { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.1), transparent 45%); }
.hv-door:hover .hv-glow { opacity: 1; }
.hv-k { font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #ff8a55; line-height: 1.2; }
.hv-door.is-pro .hv-k { color: var(--hv-v2); }
.hv-door h2 { margin-top: 10px; font-size: 1.85rem; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.hv-door.is-pro h2 { font-size: 2.2rem; }
.hv-door p { margin: 10px 0 0; max-width: 380px; color: rgba(255,255,255,.78); font-size: .94rem; line-height: 1.5; }
.hv-door ul { display: grid; gap: 6px; max-height: 0; margin: 0; padding: 0; overflow: hidden; list-style: none; opacity: 0; color: rgba(255,255,255,.85); font-size: .88rem; transition: max-height .6s var(--hv-ease), opacity .4s, margin .4s; }
.hv-door ul li::before { content: "✓  "; color: #ff6a2b; font-weight: 800; }
.hv-door.is-pro ul li::before { color: var(--hv-v); }
.hv-door.is-on ul { max-height: 120px; margin-top: 14px; opacity: 1; }
.hv-ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.hv-ft b { font-size: 1.05rem; white-space: nowrap; }
.hv-ft small { display: block; color: var(--hv-mu); font-size: .72rem; font-weight: 600; white-space: nowrap; }
.hv-main .hv-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 99px; color: #fff; font-weight: 800; font-size: .95rem; white-space: nowrap; transition: transform .25s var(--hv-ease), box-shadow .25s; }
.hv-main .hv-btn:hover { transform: translateY(-2px); }
.hv-btn i { font-style: normal; transition: transform .25s var(--hv-ease); }
.hv-btn:hover i, .hv-door:hover .hv-btn i { transform: translateX(4px); }
.hv-btn.o { background: #e8642d; }
.hv-main .hv-btn.p { background: var(--hv-v); color: #0a0710; }
.hv-main .hv-btn.w { background: #fff; color: #0b0c0f; }
.hv-doors.is-hov .hv-door:not(.is-on) .hv-btn { padding: 0 14px; font-size: .84rem; }
.hv-badge { position: absolute; top: 20px; left: 50%; z-index: 2; transform: translateX(-50%); padding: 7px 14px; border-radius: 99px; background: var(--hv-v); color: #0a0710; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.hv-fan { position: absolute; left: 50%; top: 70px; z-index: -1; width: 0; }
.hv-fan img { position: absolute; width: 150px; height: 200px; max-width: none; margin-left: -75px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; object-fit: cover; transform-origin: 50% 130%; transform: rotate(calc(var(--d) * 10deg)) translateX(calc(var(--d) * 40px)); transition: transform .7s var(--hv-ease); }
.hv-door.is-pro.is-on .hv-fan img { transform: translateY(-72px) rotate(calc(var(--d) * 12deg)) translateX(calc(var(--d) * 58px)) scale(.8); }
.hv-pair { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; align-items: center; gap: 8px; }
.hv-pair img { width: 70px; height: 90px; max-width: none; border: 2px solid rgba(255,255,255,.8); border-radius: 12px; object-fit: cover; }
.hv-pair i { font-style: normal; }
.hv-pair span { font-size: .72rem; font-weight: 700; line-height: 1.3; text-shadow: 0 2px 8px #000; }

/* search, under the cards, full width */
.hv-search { position: relative; z-index: 20; margin-top: 28px; }
.hv-in { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 140px 0 22px; border: 1px solid var(--hv-line2); border-radius: 99px; background: rgba(15,16,19,.92); transition: border-color .2s, box-shadow .2s; cursor: text; }
.hv-search:focus-within .hv-in { border-color: rgba(255,106,43,.6); box-shadow: 0 0 0 4px rgba(255,106,43,.12); }
.hv-in svg { flex: none; width: 19px; height: 19px; fill: none; stroke: rgba(255,255,255,.7); stroke-width: 2; }
.hv-in input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 1.02rem; }
.hv-in input::placeholder { color: rgba(255,255,255,.42); }
.hv-in input::-webkit-search-cancel-button { filter: invert(1); opacity: .6; }
.hv-in kbd { flex: none; padding: 4px 8px; border: 1px solid var(--hv-line2); border-radius: 8px; color: var(--hv-mu); font: 600 .72rem/1 Manrope, sans-serif; }
.hv-go { position: absolute; right: 6px; top: 6px; height: 46px; padding: 0 24px; border: 0; border-radius: 99px; background: #e8642d; color: #fff; font: inherit; font-weight: 800; cursor: pointer; transition: background .2s; }
.hv-go:hover { background: #f2733c; }
.hv-panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px; border: 1px solid var(--hv-line2); border-radius: 22px; background: #0f1013; }
.hv-panel[hidden] { display: none; }
.hv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 6px; }
.hv-chips button { padding: 7px 13px; border: 1px solid var(--hv-line); border-radius: 99px; background: none; color: var(--hv-mu); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; transition: .2s; }
.hv-chips button:hover { border-color: var(--hv-line2); color: #fff; }
.hv-panel .hl-r.is-on { background: rgba(232,100,45,.12); }
.hv-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; margin: 22px 0 0; color: var(--hv-mu); font-size: .9rem; line-height: 1.3; }
.hv-trust b { color: #fff; }
.hv-trust i { font-style: normal; color: #ff6a2b; }

/* ── sections, with a full-width line of light above each ───────────────── */
.hv-sec { position: relative; isolation: isolate; margin-top: clamp(44px, 4.5vw, 60px); padding-top: clamp(40px, 4.5vw, 56px); opacity: 0; transform: translateY(22px); transition: opacity .9s var(--hv-ease), transform .9s var(--hv-ease); }
.hv-sec.in { opacity: 1; transform: none; }
.hv-sec::before { content: ""; position: absolute; top: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); height: 1px; background: linear-gradient(90deg, transparent, rgba(170,190,220,.1) 18%, rgba(170,190,220,.1) 82%, transparent); }
.hv-sec.gl-o::before { background: linear-gradient(90deg, transparent, rgba(170,190,220,.1) 20%, rgba(255,122,69,.55) 50%, rgba(170,190,220,.1) 80%, transparent); }
.hv-sec.gl-v::before { background: linear-gradient(90deg, transparent, rgba(170,190,220,.1) 20%, rgba(167,139,250,.6) 50%, rgba(170,190,220,.1) 80%, transparent); }
.hv-sec.gl-b::before { background: linear-gradient(90deg, transparent, rgba(170,190,220,.1) 20%, rgba(110,150,255,.5) 50%, rgba(170,190,220,.1) 80%, transparent); }
.hv-sec::after { content: ""; position: absolute; z-index: -1; top: -260px; left: 50%; width: min(1200px, 100vw); height: 520px; transform: translateX(-50%); pointer-events: none; opacity: 0; transition: opacity 1.6s var(--hv-ease); }
.hv-sec.in::after { opacity: 1; }
.hv-sec.gl-o::after { background: radial-gradient(closest-side, rgba(255,106,43,.05), transparent); }
.hv-sec.gl-v::after { background: radial-gradient(closest-side, rgba(167,139,250,.06), transparent); }
.hv-sec.gl-b::after { background: radial-gradient(closest-side, rgba(90,130,255,.05), transparent); }
.hv-sec[hidden] { display: none; }
.hv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.hv-head h2 { margin-top: 10px; font-size: clamp(1.9rem, 2.8vw, 2.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; color: #fff; }
.hv-head p:not(.hv-kk) { max-width: 560px; margin-top: 8px; color: var(--hv-mu); }
.hv-kk { color: #ff7a45; font-size: .72rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; }
.hv-kk.is-pro { color: #d8ccff; }
.hv-ob { flex: none; padding: 9px 16px; border: 1px solid var(--hv-line2); border-radius: 99px; color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; transition: border-color .2s; }
.hv-ob:hover { border-color: rgba(255,255,255,.45); }

/* most downloaded: preview on the left, as tall as the list */
.hv-rk { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 34px; align-items: stretch; }
.hv-pv { position: relative; display: block; min-height: 100%; overflow: hidden; border: 1px solid var(--hv-line); border-radius: 26px; background: #0f1013; }
.hv-pv img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity .5s; }
.hv-pv img.on { opacity: 1; }
.hv-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: rgba(11,12,15,.8); backdrop-filter: blur(10px); color: #fff; }
.hv-cap b { display: block; font-size: .95rem; }
.hv-cap small { display: block; color: var(--hv-mu); font-size: .76rem; }
.hv-cap em { font-style: normal; font-weight: 800; color: #ff8a55; white-space: nowrap; }
.hv-rl { margin: 0; padding: 0; list-style: none; }
.hv-rl a { display: grid; grid-template-columns: 44px minmax(0, 1fr) 110px 90px; gap: 16px; align-items: center; padding: 16px 14px; border-bottom: 1px solid var(--hv-line); border-radius: 16px; color: #fff; transition: background .2s; }
.hv-rl a.is-on { background: rgba(255,255,255,.04); }
.hv-n { color: rgba(255,255,255,.3); font-weight: 800; font-size: 1.1rem; }
.hv-rl a.is-on .hv-n { color: #ff6a2b; }
.hv-rn { min-width: 0; }
.hv-rn b { display: block; overflow: hidden; font-size: 1.02rem; white-space: nowrap; text-overflow: ellipsis; }
.hv-rn small { color: var(--hv-mu); font-size: .8rem; }
.hv-bar { height: 6px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.07); }
.hv-bar i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, #e8642d, #ffb070); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--hv-ease) .2s; }
.hv-sec.in .hv-bar i { transform: scaleX(var(--w)); }
.hv-rl em { font-style: normal; font-weight: 800; text-align: right; }
.hv-rl em small { display: block; color: var(--hv-mu); font-weight: 600; }

/* product cards */
.hv-tabs { display: inline-flex; gap: 4px; margin-bottom: 20px; padding: 4px; border: 1px solid var(--hv-line); border-radius: 99px; }
.hv-tabs button { padding: 8px 16px; border: 0; border-radius: 99px; background: none; color: var(--hv-mu); font: inherit; font-size: .84rem; font-weight: 700; cursor: pointer; transition: .2s; }
.hv-tabs button.is-on { background: #fff; color: #0b0c0f; }
.hv-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-pc { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border: 1px solid var(--hv-line); border-radius: 14px; background: #0f1013; color: #fff; animation: hv-up .5s var(--hv-ease) both; transition: border-color .3s, transform .4s var(--hv-ease); }
.hv-pc:hover { border-color: var(--hv-line2); transform: translateY(-4px); }
.hv-pc > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: opacity .6s, transform 1s var(--hv-ease); }
.hv-pc > img:not(.on) { opacity: 0; }
.hv-pc.is-nsfw:not(.is-revealed) > img { filter: blur(22px) saturate(.6); }
.hv-pc.is-blurred > img { filter: blur(10px); }
.hv-pc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(11,12,15,.92) 0, rgba(11,12,15,.35) 30%, transparent 50%); }
.hv-tags { position: absolute; z-index: 2; left: 10px; top: 10px; display: flex; gap: 6px; }
.hv-tags i { padding: 4px 9px; border-radius: 99px; background: rgba(11,12,15,.75); backdrop-filter: blur(6px); font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hv-tags i.pro { background: rgba(167,139,250,.9); color: #0a0710; }
.hv-heart { position: absolute; z-index: 3; right: 10px; top: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(11,12,15,.6); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s; }
.hv-pc:hover .hv-heart, .hv-heart.is-on { opacity: 1; }
.hv-heart svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.hv-heart.is-on svg { fill: #ff6a2b; stroke: #ff6a2b; }
.hv-pc.is-cycle .hv-heart { top: 30px; }
.hv-dots { position: absolute; z-index: 2; right: 14px; top: 14px; display: flex; gap: 4px; }
.hv-dots i { display: block; width: 6px; height: 6px; border-radius: 9px; background: rgba(255,255,255,.4); transition: .3s; }
.hv-dots i.on { width: 16px; background: #fff; }
.hv-tx { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 13px; }
.hv-tx b { display: block; overflow: hidden; font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; }
.hv-mt { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 5px; }
.hv-mt small { overflow: hidden; color: rgba(255,255,255,.62); font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; text-overflow: ellipsis; }
.hv-mt em { flex: none; color: #ff8a55; font-style: normal; font-size: .78rem; font-weight: 700; }
.hv-mt em i { margin-left: 4px; font-style: normal; font-size: .7rem; }
.hv-pc .nsfw-veil { z-index: 2; }
.hv-empty { color: var(--hv-mu); }
@keyframes hv-up { from { opacity: 0; transform: translateY(12px); } }

/* engines */
.hv-en { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-en a { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--hv-line); border-radius: 22px; color: #fff; }
.hv-en img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .8s var(--hv-ease); }
.hv-en a:hover img { transform: scale(1.05); }
.hv-en a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,12,15,.95), transparent 55%); }
.hv-en span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.hv-en b { display: block; font-size: 1.35rem; letter-spacing: -.03em; }
.hv-en small { color: var(--hv-mu); font-size: .8rem; }
.hv-en em { display: block; margin-top: 2px; color: #ff8a55; font-style: normal; font-weight: 800; }

/* custom LoRA: references, dataset, LoRA */
.hv-flow { display: grid; grid-template-columns: .8fr 70px 1.25fr 70px 1fr; align-items: stretch; padding: 26px; border: 1px solid var(--hv-line); border-radius: 28px; background: radial-gradient(60% 80% at 50% 0, rgba(232,100,45,.08), transparent 70%), #0e0f12; }
.hv-flow[hidden] { display: none; }
.hv-fs { position: relative; display: flex; flex-direction: column; }
.hv-no { position: absolute; z-index: 3; left: 12px; top: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(11,12,15,.8); color: #ff8a55; font-size: .72rem; font-weight: 800; letter-spacing: .1em; backdrop-filter: blur(6px); }
.hv-vis { position: relative; height: 330px; }
.hv-fs > b { display: block; margin-top: 16px; font-size: 1.05rem; }
.hv-fs > small { color: var(--hv-mu); font-size: .84rem; }
.hv-fs.s1 .hv-vis img { width: 100%; height: 100%; max-width: none; object-fit: cover; border: 2px solid rgba(255,106,43,.55); border-radius: 18px; }
.hv-fs.s2 .hv-vis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 6px; }
.hv-fs.s2 .hv-vis img { width: 100%; height: 100%; min-height: 0; max-width: none; object-fit: cover; border-radius: 12px; opacity: 0; transform: scale(.9); transition: opacity .6s calc(var(--i) * 90ms + .3s), transform .6s calc(var(--i) * 90ms + .3s) var(--hv-ease); }
.hv-sec.in .hv-fs.s2 .hv-vis img { opacity: 1; transform: none; }
.hv-fs.s3 .hv-vis img { position: absolute; top: 0; width: 68%; height: 86%; max-width: none; object-fit: cover; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; transition: transform .6s var(--hv-ease); }
.hv-fs.s3 .hv-vis img:nth-of-type(1) { left: 0; z-index: 1; transform: rotate(-6deg) translateY(16px); }
.hv-fs.s3 .hv-vis img:nth-of-type(2) { right: 0; z-index: 1; transform: rotate(6deg) translateY(16px); }
.hv-fs.s3 .hv-vis img:nth-of-type(3) { left: 16%; z-index: 2; }
.hv-fs.s3 .hv-vis:hover img:nth-of-type(1) { transform: rotate(-10deg) translate(-14px, 10px); }
.hv-fs.s3 .hv-vis:hover img:nth-of-type(2) { transform: rotate(10deg) translate(14px, 10px); }
.hv-fs.s3 .hv-vis:hover img:nth-of-type(3) { transform: translateY(-8px); }
.hv-ok { position: absolute; z-index: 3; left: 50%; bottom: 6px; transform: translateX(-50%); padding: 6px 12px; border: 1px solid rgba(74,222,128,.4); border-radius: 99px; background: rgba(11,12,15,.85); color: #86efac; font-size: .76rem; font-weight: 700; white-space: nowrap; }
.hv-ln { position: relative; height: 330px; }
.hv-ln::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; border-top: 2px dashed rgba(255,255,255,.14); }
.hv-ln::after { content: "→"; position: absolute; right: 2px; top: calc(50% - 13px); color: #ff6a2b; font-weight: 800; }
.hv-ln i { position: absolute; left: 10px; top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: #ff6a2b; box-shadow: 0 0 14px #ff6a2b; animation: hv-mv 2.2s var(--hv-ease) infinite; }
@keyframes hv-mv { 0% { left: 10px; opacity: 0; } 15%, 85% { opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }
.hv-as { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#homeCustom .hv-as { justify-content: center; }
.hv-as span { padding: 8px 14px; border: 1px solid var(--hv-line); border-radius: 99px; color: rgba(255,255,255,.78); font-size: .82rem; }
.hv-as span::before { content: "✓ "; color: #ff6a2b; font-weight: 800; }
#homeCustom .hv-head .hv-btn { flex: none; }

/* Pro */
.hv-pb { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 190px; gap: 40px; align-items: center; padding: 32px 36px; overflow: hidden; border: 1px solid rgba(167,139,250,.55); border-radius: 28px;
  background: radial-gradient(60% 140% at 85% 50%, rgba(167,139,250,.32), transparent 60%), linear-gradient(110deg, #171030 0, #110c24 40%, #0e0f12 100%); }
.hv-pb h2 { margin-top: 10px; font-size: clamp(1.7rem, 2.3vw, 2.15rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; color: #fff; }
.hv-cm { margin-top: 12px; color: rgba(230,224,255,.72); font-size: 1.02rem; }
.hv-cm b { color: #fff; }
.hv-li { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: rgba(255,255,255,.8); font-size: .88rem; }
.hv-li span::before { content: "✓ "; color: var(--hv-v); font-weight: 800; }
.hv-pp { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; padding: 0 6px 0 30px; border-left: 1px solid rgba(167,139,250,.28); white-space: nowrap; }
.hv-price { display: flex; align-items: baseline; gap: 6px; }
.hv-price b { font-size: 3.4rem; font-weight: 800; letter-spacing: -.06em; line-height: 1; background: linear-gradient(180deg, #fff, #d8ccff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-price small { color: var(--hv-v2); font-size: 1rem; font-weight: 700; }
.hv-pn { margin: 6px 0 18px; color: rgba(230,224,255,.65); font-size: .86rem; }
.hv-main .hv-btn.big { height: 52px; padding: 0 26px; font-size: 1rem; }
.hv-pf { position: relative; z-index: 1; height: 190px; }
.hv-fan2 { position: absolute; left: 50%; top: 6px; width: 0; }
.hv-fan2 img { position: absolute; width: 96px; height: 130px; max-width: none; margin-left: -48px; border: 1px solid rgba(216,204,255,.35); border-radius: 14px; object-fit: cover; transform-origin: 50% 130%; transform: rotate(calc(var(--d) * 8deg)) translateX(calc(var(--d) * 16px)); transition: transform .7s var(--hv-ease); }
.hv-pb:hover .hv-fan2 img { transform: rotate(calc(var(--d) * 13deg)) translateX(calc(var(--d) * 34px)) translateY(-6px); }
.hv-shine { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.hv-shine::before { content: ""; position: absolute; top: -50%; left: -30%; width: 30%; height: 200%; background: linear-gradient(90deg, transparent, rgba(216,204,255,.12), transparent); transform: rotate(20deg); animation: hv-sh 6s ease-in-out infinite; }
@keyframes hv-sh { 0%, 55% { left: -30%; } 100% { left: 130%; } }

/* review: one centred quote */
.hv-main .home-reviews { margin: 0 auto; }
.hv-main .home-reviews.hv-sec { margin-top: clamp(44px, 4.5vw, 60px); }
.hv-main .home-reviews .hr-quote { max-width: 820px; margin: 0 auto; padding: 0; border: 0; text-align: center; }
.hv-main .home-reviews .hr-mark { display: none; }
.hv-main .home-reviews .hr-quote blockquote { max-width: none; margin: 14px 0 0; font-size: clamp(1.4rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.35; }
.hv-main .home-reviews .hr-quote figcaption { flex-direction: row; justify-content: center; margin: 16px 0 10px; gap: 8px; }

/* work with Enzino: one line */
.hv-work { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--hv-line); }
.hv-work h2 { font-size: 1.1rem; font-weight: 800; }
.hv-work p { color: var(--hv-mu); font-size: .9rem; }

@media (max-width: 1000px) {
  .hv-doors { flex-direction: column; height: auto; gap: 10px; }
  .hv-door, .hv-door.is-pro { flex: none; width: 100%; height: 460px; border-radius: 24px !important; opacity: 1 !important; }
  .hv-door.is-pro { height: 500px; }
  .hv-door ul, .hv-door.is-on ul { max-height: 0; margin: 0; opacity: 0; }
  .hv-fan { top: 60px; } .hv-fan img { width: 104px; height: 140px; margin-left: -52px; transform: rotate(calc(var(--d) * 10deg)) translateX(calc(var(--d) * 30px)); }
  .hv-rk { grid-template-columns: minmax(0, 1fr); } .hv-pv { display: none; }
  .hv-rl a { grid-template-columns: 34px minmax(0, 1fr) 80px; } .hv-bar { display: none; }
  .hv-cards, .hv-en { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv-flow { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
  .hv-ln { height: 40px; } .hv-ln::before { left: 50%; right: auto; top: 6px; bottom: 6px; border-top: 0; border-left: 2px dashed rgba(255,255,255,.14); } .hv-ln i, .hv-ln::after { display: none; }
  .hv-vis { height: 300px; }
  .hv-pb { grid-template-columns: minmax(0, 1fr); padding: 24px; } .hv-pp { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(167,139,250,.28); } .hv-pf { display: none; }
  .hv-head { flex-wrap: wrap; } .hv-work { flex-direction: column; align-items: flex-start; }
  #homeCustom .hv-head .hv-btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .hv { width: calc(100% - 36px); }
  .hv-door { padding: 22px; } .hv-door h2, .hv-door.is-pro h2 { font-size: 1.9rem; }
  .hv-in { padding-right: 110px; } .hv-in kbd { display: none; } .hv-go { padding: 0 16px; }
  .hv-trust { gap: 8px 18px; font-size: .84rem; }
  .hv-tabs { display: flex; width: 100%; overflow-x: auto; } .hv-tabs button { flex: none; }
}
@media (prefers-reduced-motion: reduce) { .hv-main *, .hv-main *::before, .hv-main *::after { animation: none !important; transition: none !important; } .hv-sec { opacity: 1; transform: none; } }

/* fixes: the search results sit above the sections; the preview follows the list's height; room under "Work with Enzino" */
.hv { z-index: 30; }
.hv-pv { height: 0; min-height: 100%; }
.hv-work { margin-bottom: clamp(56px, 6vw, 80px); }
.hv-main #homeTrend { min-height: 0; }
.hv-main .hv-sec, .hv-main .home-reviews.hv-sec { margin-top: clamp(40px, 4.5vw, 56px); padding-top: clamp(40px, 4.5vw, 56px); }   /* the same space above and under each line */
.hv-main #latest.hv-sec { margin-top: clamp(40px, 4.5vw, 56px); } .hv-main #latest .hv-head h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }

/* Phones and tablets: the three cards become a carousel, one card and the edge of the next */
@media (max-width: 1000px) {
  .hv-doors { flex-direction: row; align-items: stretch; gap: 10px; margin: 0 -18px; padding: 4px 18px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .hv-doors::-webkit-scrollbar { display: none; }
  .hv-door, .hv-door.is-pro { flex: 0 0 min(84%, 420px); width: auto; height: 480px; scroll-snap-align: center; }  .hv-dots2 { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .hv-dots2 button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 9px; background: rgba(255,255,255,.3); cursor: pointer; transition: width .3s, background .3s; }
  .hv-dots2 button.on { width: 20px; background: #fff; }
}
@media (min-width: 1001px) { .hv-dots2 { display: none; } }

/* Phones: lower cards, the figures as two balanced lines, a search that fits */
@media (max-width: 1000px) {
  .hv-door, .hv-door.is-pro { height: 430px; }
  .hv-fan { top: 54px; } .hv-fan img { width: 96px; height: 128px; margin-left: -48px; }
  .hv-badge { top: 14px; }
}
@media (max-width: 560px) {
  .hv-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; text-align: center; }
  .hv-trust span { padding: 10px 8px; border: 1px solid var(--hv-line); border-radius: 14px; background: rgba(255,255,255,.02); font-size: .8rem; }
  .hv-trust b { display: block; font-size: 1.05rem; }
  .hv-in { padding-right: 100px; }
  .hv-go { height: 44px; top: 7px; padding: 0 16px; font-size: .9rem; }
}
@media (max-width: 1000px) { .hv-fan { top: 28px; } .hv-fan img { width: 70px; height: 94px; margin-left: -35px; transform: rotate(calc(var(--d) * 10deg)) translateX(calc(var(--d) * 26px)); } }
@media (max-width: 560px) { .hv-trust i { display: block; font-size: 1rem; letter-spacing: 1px; } }
@media (max-width: 560px) {
  .hv-tabs { display: flex; width: 100%; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  .hv-tabs::-webkit-scrollbar { display: none; }
  .hv-tabs button { flex: 1 0 auto; padding: 8px 10px; font-size: .8rem; }
  .hv-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .hv-pc { aspect-ratio: 4 / 5; }
  .hv-heart { opacity: 1; }
}
/* A deeper shade under the names on the cards, so they read on any picture */
.hv-pc::after { background: linear-gradient(0deg, rgba(11,12,15,.96) 0, rgba(11,12,15,.78) 22%, rgba(11,12,15,.35) 42%, transparent 60%); }
.hv-en a::after { background: linear-gradient(0deg, rgba(11,12,15,.97) 0, rgba(11,12,15,.75) 28%, rgba(11,12,15,.3) 50%, transparent 68%); }
.hv-tx b, .hv-en b { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
/* The lights pass under the cards: they belong to the page, not to their section, so the
   cards of the section above are painted over them. */
.hv-main { position: relative; z-index: 0; }
.hv-sec { isolation: auto; }
.hv-sec.in { transform: none; }
/* The fade-in moves the content of a section, never the section itself: a section that fades
   would hold its light in front of the cards above until the end of the fade. */
.hv-sec, .hv-sec.in { opacity: 1; transform: none; transition: none; }
.hv-sec > * { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--hv-ease), transform .9s var(--hv-ease); }
.hv-sec.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hv-sec > * { opacity: 1; transform: none; } }


/* Hover effects only where there is a real pointer: on a phone the first tap would show them
   (second picture, quick view…) and only the second tap would open the page. */
@media (hover: hover) {
  .hv-pc:not(.is-cycle):hover > img + img { opacity: 1; }
  .hv-pc:hover > img { transform: scale(1.04); }
}
/* New releases on phones: a row that slides (one card and a half in view), then "See all". */
.hv-more { display: none; }
@media (max-width: 700px) {
  #homeProducts { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
  #homeProducts::-webkit-scrollbar { display: none; }
  #homeProducts > * { scroll-snap-align: start; }
  #homeProducts .hv-pc { aspect-ratio: 3 / 4; }
  #homeProducts .hv-more { display: flex; align-items: center; justify-content: center; border: 1px solid var(--hv-line, rgba(255,255,255,.1)); border-radius: 14px; background: #0f1013; color: #fff; font-weight: 800; text-decoration: none; }
  #homeProducts .hv-more i { font-style: normal; color: #ff6a2b; }
  #homeProducts .hv-empty { grid-column: 1 / -1; }
}

/* Characters: profile cards (photo with name and age, a line about them, three traits, status, Meet). */
.hv-cast { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-pfc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: #141518; }
.hv-pfp { position: relative; display: block; height: 300px; overflow: hidden; }
.hv-pfp img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.hv-pfp::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(11,12,15,.75)); }
.hv-pfn { position: absolute; z-index: 1; left: 14px; bottom: 12px; font-size: 1.7rem; font-weight: 800; letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.5); }
.hv-pfn small { margin-left: 6px; font-size: 1.1rem; font-weight: 700; color: #e1e6ea; }
.hv-pfs { position: absolute; z-index: 1; top: 10px; right: 10px; padding: 4px 9px; border-radius: 7px; background: rgba(11,12,15,.75); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hv-pfs.is-free { background: #16a34a; } .hv-pfs.is-ex { background: #ff6a2b; }
.hv-pfb { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 12px 14px 14px; }
.hv-pfb p { margin: 0; font-size: .88rem; line-height: 1.45; color: #d6dbe0; }
.hv-pft { display: flex; flex-wrap: wrap; gap: 5px; }
.hv-pft span { padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.07); color: #e1e6ea; font-size: .74rem; font-weight: 700; }
.hv-pfm { display: block; margin-top: auto; padding: 10px; border-radius: 10px; background: #ff6a2b; color: #fff; font-size: .86rem; font-weight: 800; text-align: center; text-decoration: none; }
.hv-pfm:hover { background: #ff7d45; }
@media (hover: hover) { .hv-pfc:hover .hv-pfp img { transform: scale(1.04); } }
@media (max-width: 1000px) {
  .hv-cast { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hv-cast::-webkit-scrollbar { display: none; } .hv-pfc { scroll-snap-align: start; }
}
@media (max-width: 700px) {
  .hv-cast { grid-auto-columns: 74%; gap: 12px; margin-inline: -18px; padding-inline: 18px; scroll-padding-inline: 18px; }
  .hv-pfp { height: 340px; }
}

/* Base models: the arrow that says the card opens a list. On phones, one row each: picture, name, count, price, arrow. */
.hv-en .hv-enarr { position: absolute; z-index: 1; right: 16px; bottom: 16px; padding: 0; top: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); font-style: normal; font-weight: 800; transition: background .2s; }
.hv-en a:hover .hv-enarr { background: #ff6a2b; }
@media (max-width: 700px) {
  .hv-en { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .hv-en a { display: flex; align-items: center; gap: 14px; aspect-ratio: auto; padding: 10px; border-radius: 18px; background: #141518; }
  .hv-en a::after { display: none; }
  .hv-en img { position: static; flex: none; width: 68px; height: 84px; border-radius: 12px; }
  .hv-en span { position: static; flex: 1; min-width: 0; }
  .hv-en b { font-size: 1.15rem; text-shadow: none; }
  .hv-en small { font-size: .82rem; }
  .hv-en em { display: inline; margin: 0 0 0 8px; }
  .hv-en .hv-enarr { position: static; flex: none; background: #ff6a2b; }
}

/* Custom LoRA: one frame, the reference on the left of the handle, the generated scene on the right. */
.hv-cmh h2 span { color: #ff6a2b; }
.hv-cmb { display: flex; align-items: center; gap: 16px; flex: none; }
.hv-cmp { display: flex; align-items: baseline; gap: 6px; } .hv-cmp small { color: var(--hv-mu, #8b949e); font-weight: 700; font-size: .9rem; } .hv-cmp b { font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hv-cmp-box { --cm: 50%; position: relative; max-width: 760px; height: clamp(340px, 40vw, 500px); margin: 26px auto 0; overflow: hidden; border: 1px solid var(--hv-line, rgba(255,255,255,.08)); border-radius: 22px; background: #0f1013; user-select: none; }
.hv-cmp-box[hidden] { display: none; }
.hv-cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hv-cm-b { object-position: 50% 25%; }
.hv-cm-a { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--cm)) 0 0); }
.hv-cm-a img { object-position: 50% 22%; }
.hv-cm-l { position: absolute; top: 0; bottom: 0; left: var(--cm); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.hv-cm-l i { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0b0c0f; font-style: normal; font-weight: 800; transform: translate(-50%, -50%); }
.hv-cm-t1, .hv-cm-t2 { position: absolute; bottom: 16px; padding: 7px 12px; border-radius: 9px; background: rgba(11,12,15,.82); font-size: .8rem; font-weight: 800; pointer-events: none; }
.hv-cm-t1 { left: 16px; } .hv-cm-t2 { right: 16px; }
.hv-cm-r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.hv-cm-r:focus-visible + * , .hv-cmp-box:focus-within .hv-cm-l i { outline: 2px solid #ff6a2b; outline-offset: 3px; }
@media (max-width: 700px) {
  .hv-cmh { flex-direction: column; align-items: flex-start; }
  .hv-cmb { width: 100%; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
  .hv-cmb .hv-btn { justify-content: center; }
  .hv-cmp-box { height: 380px; }
  .hv-cm-t1, .hv-cm-t2 { bottom: 12px; font-size: .72rem; }
}

/* Custom LoRA as a bento: the pitch, a generated scene, the reference photo, the price and the three promises. */
.hv-bento { display: grid; grid-template-columns: 1.1fr 1fr 1fr; grid-template-rows: 250px 250px; gap: 12px; }
.hv-bt { position: relative; overflow: hidden; border: 1px solid var(--hv-line, rgba(255,255,255,.08)); border-radius: 22px; background: #121316; color: #fff; text-decoration: none; }
.hv-bt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
@media (hover: hover) { a.hv-bt:hover img { transform: scale(1.03); } }
.hv-bt-t { grid-row: span 2; display: flex; flex-direction: column; padding: 34px; }
.hv-bt-t h2 { margin-top: 12px; font-size: clamp(2rem, 3.2vw, 2.6rem); line-height: 1.04; letter-spacing: -.045em; }
.hv-bt-t h2 span { color: #ff6a2b; }
.hv-bt-t p:not(.hv-kk) { margin-top: 14px; color: var(--hv-mu, #9aa4ae); line-height: 1.6; }
.hv-bt-t .hv-btn { margin-top: auto; align-self: flex-start; }
.hv-bt-out { grid-row: span 2; } .hv-bt-out img { object-position: 50% 25%; }
.hv-bt-ref img { object-position: 50% 22%; }
.hv-btl { position: absolute; z-index: 1; left: 14px; bottom: 14px; padding: 6px 11px; border-radius: 9px; background: rgba(11,12,15,.82); font-size: .78rem; font-weight: 800; }
.hv-bt-p { display: flex; flex-direction: column; justify-content: center; padding: 26px; }
.hv-bt-p small { color: var(--hv-mu, #8b949e); font-size: .85rem; }
.hv-bt-p b { font-size: 2.6rem; letter-spacing: -.045em; line-height: 1.05; }
.hv-bt-p ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.hv-bt-p li { color: #c9d0d6; font-size: .88rem; } .hv-bt-p li::before { content: "✓  "; color: #ff6a2b; font-weight: 900; }
@media (max-width: 900px) {
  .hv-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto 300px auto; }
  .hv-bt-t { grid-column: 1 / -1; grid-row: auto; padding: 24px; }
  .hv-bt-t .hv-btn { margin-top: 20px; }
  .hv-bt-out { grid-row: auto; }
  .hv-bt-p { grid-column: 1 / -1; }
}

/* ── Phones (under 761 px): the short opening, chosen in maquettes/hero-mobile-b (compact) ─────── */
.hm, .hm-proof { display: none; }
@media (max-width: 760px) {
  #hvDoors, .hv-dots2, .hv-trust { display: none !important; }
  #homeLaunch.hv { padding-top: 18px; }
  .hm { display: block; }
  .hm-k { margin: 0; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff6a2b; }
  .hm-t { margin: 6px 0 6px; font-size: 1.6rem; font-weight: 800; line-height: 1.06; letter-spacing: -.035em; color: #fff; }
  .hm-l { margin: 0; color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.45; }
  .hm-pro { display: block; margin-top: 12px; padding: 12px 14px 13px; border: 1px solid rgba(167,139,250,.45); border-radius: 20px; background: linear-gradient(150deg, rgba(167,139,250,.2), #0e0f12 62%); color: #fff; text-decoration: none; overflow: hidden; }
  .hm-pt { display: flex; gap: 12px; align-items: flex-start; }
  .hm-px { flex: 1; min-width: 0; }
  .hm-pk { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #c4b5fd; }
  .hm-px b { display: block; margin: 4px 0 2px; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.02em; }
  .hm-px small { font-size: .78rem; color: rgba(255,255,255,.6); }
  .hm-fan { position: relative; flex: none; width: 96px; height: 66px; }
  .hm-fan img { position: absolute; top: 0; width: 42px; height: 58px; object-fit: cover; border: 2px solid #1a1530; border-radius: 9px; }
  .hm-fan img:nth-child(1) { left: 0; transform: rotate(-10deg); }
  .hm-fan img:nth-child(2) { left: 24px; z-index: 2; }
  .hm-fan img:nth-child(3) { left: 48px; transform: rotate(10deg); }
  .hm-go { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; height: 46px; padding: 0 5px 0 16px; border-radius: 14px; background: #a78bfa; color: #120c24; font-weight: 800; }
  .hm-go em { font-style: normal; font-weight: 700; font-size: .82rem; opacity: .75; }
  .hm-go i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(18,12,36,.12); font-style: normal; }
  .hm-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; }
  .hm-door { position: relative; display: block; height: 140px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: #0e0f12; color: #fff; text-decoration: none; }
  .hm-door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
  .hm-door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,12,15,.1) 0%, rgba(11,12,15,.25) 30%, rgba(11,12,15,.78) 58%, rgba(11,12,15,.96) 100%); }
  .hm-in { position: absolute; left: 12px; right: 12px; bottom: 18px; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
  .hm-in b { display: block; font-size: 1.04rem; letter-spacing: -.02em; }
  .hm-in small { display: block; margin-top: 2px; font-size: .76rem; color: rgba(255,255,255,.82); }
  .hm-ar { position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #e8642d; font-weight: 800; }
  .hm-tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 5px 8px; border-radius: 99px; background: rgba(11,12,15,.7); color: #ffb27a; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
  .hv-search { margin-top: 10px; }
  .hv-in { height: 50px; }
  .hv-go { height: 40px; top: 5px; right: 5px; }
  .hm-proof { display: flex; gap: 6px; margin-top: 12px; }
  .hm-proof > * { flex: 1 1 auto; justify-content: center; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; background: #0e0f12; color: rgba(255,255,255,.6); font-size: .76rem; white-space: nowrap; text-decoration: none; }
  .hm-proof b { color: #fff; }
  .hm-proof .hm-rv { border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.06); }
  .hm-rv i { font-style: normal; color: #fbbf24; }
}
@media (max-width: 360px) { .hm-proof > * { padding: 0 8px; font-size: .7rem; } .hm-t { font-size: 1.45rem; } }

/* ── Opening: one line on what the site sells, the featured models as a mosaic (maquettes/accueil-conversion) ── */
.hx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; padding: 26px 0 56px; }
.hx-k { margin: 0; color: #ff6a2b; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hx h1 { margin: 12px 0 14px; font-size: clamp(2.2rem, 4.2vw, 3.5rem); line-height: 1.03; letter-spacing: -.035em; color: #fff; }
.hx-l { margin: 0; max-width: 500px; font-size: 1.14rem; line-height: 1.5; color: #e3e0da; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hx-b { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 24px; border-radius: 99px; background: #e8642d; color: #fff; font-weight: 800; text-decoration: none; transition: background .2s; }
.hx-b:hover { background: #ff6a2b; } .hx-b i { font-style: normal; }
.hx-b.is-gh { background: none; border: 1px solid rgba(255,255,255,.18); } .hx-b.is-gh:hover { border-color: #fff; }
.hx-pf { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; color: rgba(255,255,255,.6); font-size: .88rem; } .hx-pf b { color: #fff; }
.hx-pro { margin: 14px 0 0; color: rgba(255,255,255,.75); font-size: .88rem; } .hx-pro a { color: #a78bfa; font-weight: 800; text-decoration: none; } .hx-pro a:hover { color: #c4b5fd; }
.hx-mos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hx-mos a, .hm-mos a { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #0e0f12; }
.hx-mos a:nth-child(3n+2) { transform: translateY(26px); }
.hx-mos img, .hm-mos img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .4s; }
.hx-mos a:hover img { transform: scale(1.04); }
.hx-mos span { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 3px 9px; border-radius: 99px; background: rgba(11,12,15,.78); color: #fff; font-size: .7rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-mos { display: none; }
@media (max-width: 1000px) { .hx { gap: 28px; } .hx-mos a:nth-child(n+5) { display: none; } .hx-mos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-mos a:nth-child(3n+2) { transform: none; } .hx-mos a:nth-child(2n) { transform: translateY(20px); } }
@media (max-width: 760px) {
  .hx { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hm-mos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
  .hm-mos img { border-radius: 12px; } .hm-mos span { display: none; }
}

/* New releases and characters on phones: two columns that follow each other (maquettes/accueil-grille), not a sliding row. */
.hv-cards > .hv-pc:nth-child(n+5) { display: none; }
@media (max-width: 700px) {
  /* New & popular: one big card at a time, the next one peeking, swiped sideways (maquettes/accueil-simplifie/mobile-new-popular.png, B). */
  #homeProducts { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; margin-inline: -18px; padding: 0 18px 4px; scrollbar-width: none; }
  #homeProducts > * { scroll-snap-align: start; }
  #homeProducts > .hv-pc:nth-child(n+5) { display: flex; }
  #homeProducts .hv-pc { display: flex; flex-direction: column; aspect-ratio: auto; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: #111216; animation: none; }
  #homeProducts .hv-pc::after { display: none; }
  #homeProducts .hv-pc > img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 5; border: 0; border-radius: 0; }
  #homeProducts .hv-pc > img:not(.on) { display: none; }
  #homeProducts .hv-heart { opacity: 1; width: 30px; height: 30px; right: 8px; top: 8px; }
  #homeProducts .hv-tags { left: 8px; top: 8px; }
  #homeProducts .hv-tx { position: static; margin: 0; padding: 12px 14px 14px; }
  #homeProducts .hv-tx b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; font-size: 1rem; line-height: 1.25; }
  #homeProducts .hv-mt { display: block; } #homeProducts .hv-mt small { display: block; margin-top: 2px; font-size: .68rem; }
  #homeProducts .hv-mt em { display: block; margin-top: 2px; font-size: .95rem; } #homeProducts .hv-mt em i { display: none; }
  #homeProducts .hv-more { grid-column: auto; align-self: stretch; height: auto; margin: 0; border-radius: 16px; }
  .hv-cast { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .hv-cast > .hv-pfc:nth-child(n+5) { display: none; }
  .hv-pfc { border: 0; border-radius: 0; background: none; overflow: visible; }
  .hv-pfp { height: auto; aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; }
  .hv-pfn { left: 10px; bottom: 8px; font-size: 1.2rem; } .hv-pfn small { font-size: .8rem; margin-left: 4px; }
  .hv-pfs { top: 8px; right: 8px; padding: 3px 7px; font-size: .58rem; }
  .hv-pfb { gap: 4px; padding: 8px 0 0; }
  .hv-pfb p { font-size: .78rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hv-pft { display: none; }
  .hv-pfm { margin-top: 0; padding: 0; background: none; color: #ff6a2b; text-align: left; font-size: .82rem; }
  .hv-pfm::after { content: " →"; } .hv-pfm:hover { background: none; }
}

/* Under the new opening (computers): the three offers become a slim row, not a second opening. */
@media (min-width: 761px) {
  .hx ~ .hv-doors { height: auto; align-items: stretch; gap: 12px; }
  .hx ~ .hv-doors .hv-door, .hx ~ .hv-doors.is-hov .hv-door.is-on, .hx ~ .hv-doors .hv-door.is-pro { flex: 1 1 0 !important; height: auto !important; padding: 18px 20px; border-radius: 18px !important; opacity: 1 !important; justify-content: flex-start; }
  .hx ~ .hv-doors .hv-door.is-pro { background: linear-gradient(160deg, rgba(167,139,250,.14), #0e0b1a 60%); border-color: rgba(167,139,250,.4); }
  .hx ~ .hv-doors .hv-bg, .hx ~ .hv-doors .hv-fan, .hx ~ .hv-doors .hv-pair, .hx ~ .hv-doors .hv-badge, .hx ~ .hv-doors ul, .hx ~ .hv-doors .hv-door::after { display: none !important; }
  .hx ~ .hv-doors .hv-door h2, .hx ~ .hv-doors .hv-door.is-pro h2 { margin-top: 6px; font-size: 1.15rem; letter-spacing: -.02em; line-height: 1.2; }
  .hx ~ .hv-doors .hv-door h2 br { display: none; }
  .hx ~ .hv-doors .hv-door p { margin-top: 6px; font-size: .86rem; color: rgba(255,255,255,.62); }
  .hx ~ .hv-doors .hv-ft { margin-top: auto; padding-top: 14px; }
  .hx ~ .hv-doors .hv-btn { height: 38px; padding: 0 14px; font-size: .86rem; }
  .hx ~ .hv-dots2, .hx ~ .hv-trust { display: none !important; }   /* the figures already sit under the title */
}

/* Phones: the opening chosen in maquettes/accueil-conversion (three pictures, the title, two buttons, the figures),
   then the three offers as slim rows. The older phone opening (.hm) is no longer shown. */
@media (max-width: 760px) {
  .hx { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; display: flex; flex-direction: column; gap: 18px; padding: 0 0 22px; }
  .hx-mos { order: -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hx-mos a:nth-child(n+4) { display: none; }
  .hx-mos a:nth-child(n) { transform: none; border-radius: 12px; }
  .hx-mos span { display: none; }
  .hx h1 { margin: 8px 0 10px; font-size: clamp(1.75rem, 8vw, 2.2rem); }
  .hx-k { font-size: .66rem; }
  .hx-l { font-size: 1rem; }
  .hx-cta { flex-direction: column; margin-top: 18px; }
  .hx-b { justify-content: center; height: 50px; }
  .hx-pf { gap: 6px 16px; margin-top: 16px; font-size: .82rem; }
  .hx-pro { margin-top: 10px; font-size: .84rem; }
  .hx ~ .hm, .hx ~ .hm-proof, .hx ~ .hv-trust, .hx ~ .hv-dots2 { display: none !important; }
  .hx ~ #hvDoors { display: flex !important; flex-direction: column; gap: 8px; height: auto; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .hx ~ #hvDoors .hv-door, .hx ~ #hvDoors .hv-door.is-pro { flex: none !important; flex-direction: row; align-items: center; gap: 10px; height: auto !important; padding: 14px 16px; border-radius: 16px !important; opacity: 1 !important; }
  .hx ~ #hvDoors .hv-door.is-pro { background: linear-gradient(160deg, rgba(167,139,250,.16), #0e0b1a 60%); border-color: rgba(167,139,250,.4); }
  .hx ~ #hvDoors .hv-bg, .hx ~ #hvDoors .hv-fan, .hx ~ #hvDoors .hv-pair, .hx ~ #hvDoors .hv-badge, .hx ~ #hvDoors ul, .hx ~ #hvDoors p, .hx ~ #hvDoors .hv-k, .hx ~ #hvDoors .hv-glow, .hx ~ #hvDoors .hv-btn, .hx ~ #hvDoors .hv-ft small, .hx ~ #hvDoors .hv-door::after { display: none !important; }
  .hx ~ #hvDoors .hv-door h2, .hx ~ #hvDoors .hv-door.is-pro h2 { flex: 1; min-width: 0; margin: 0; font-size: 1rem; letter-spacing: -.01em; line-height: 1.25; }
  .hx ~ #hvDoors .hv-door h2 br { display: none; }
  .hx ~ #hvDoors .hv-ft { margin: 0; padding: 0; gap: 10px; }
  .hx ~ #hvDoors .hv-ft b { color: #ff8a55; font-size: .92rem; }
  .hx ~ #hvDoors .is-pro .hv-ft b { color: #c4b5fd; }
  .hx ~ #hvDoors .hv-ft::after { content: "→"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e8642d; color: #fff; font-weight: 800; }
  .hx ~ #hvDoors .is-pro .hv-ft::after { background: #a78bfa; color: #160b2e; }
  .hx ~ .hv-search { margin-top: 12px; }
}

/* Ready-made workflows (maquettes/accueil-workflows, intermediate): tabs by what you want to do, four cards with a picture. */
#homeToolTabs { margin-bottom: 14px; }
.hv-wf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hv-wc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: #0f1013; color: #fff; text-decoration: none; transition: border-color .2s, transform .3s; }
.hv-wc:hover { border-color: rgba(255,255,255,.16); transform: translateY(-3px); }
.hv-wci { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #191a1d; }
.hv-wci img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.hv-wci i { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #151619 0 8px, #191a1d 8px 16px); }
.hv-wci u { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 99px; background: #ff6a2b; color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.hv-wct { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; min-width: 0; }
.hv-wct b { font-size: .95rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-wct small { color: #9aa4ae; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-wct em { margin-top: 8px; font-style: normal; font-weight: 800; font-size: .95rem; color: #ff6a2b; } .hv-wct em.is-free { color: #4ade80; }
.hv-wc.is-all { align-items: center; justify-content: center; min-height: 200px; border-style: dashed; color: #cfd4d8; font-weight: 800; }
.hv-wc.is-all i { font-style: normal; color: #ff6a2b; }
.hv-wff { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; color: #9aa4ae; font-size: .82rem; } .hv-wff b { color: #fff; } .hv-wff a { color: #a78bfa; font-weight: 800; text-decoration: none; }
@media (max-width: 900px) { .hv-wf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; } }
@media (max-width: 560px) { .hv-wct { padding: 10px 10px 12px; } .hv-wct b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: .86rem; } .hv-wct small { font-size: .74rem; } .hv-wc.is-all { min-height: 150px; } }

/* The three offers, minimal (maquettes/accueil-conversion): the offer, a short title, the price, one action. */
#hvDoors.hv-doors { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; height: auto; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
#hvDoors .hv-d2, #hvDoors .hv-d2.is-pro, .hv-doors.is-hov .hv-d2.is-on { flex: none !important; display: flex; flex-direction: column; justify-content: flex-start; gap: 0; height: auto !important; padding: 20px 22px !important; border: 1px solid rgba(255,255,255,.1); border-radius: 18px !important; background: #0f1013; opacity: 1 !important; transform: none; }
#hvDoors .hv-d2::after { display: none !important; }
#hvDoors .hv-d2.is-pro { border-color: rgba(167,139,250,.42); background: linear-gradient(160deg, rgba(167,139,250,.14), #0e0b1a 62%); }
#hvDoors .hv-d2 .hv-k { display: block !important; font-size: .68rem; letter-spacing: .18em; color: #ff8a55; }
#hvDoors .hv-d2.is-pro .hv-k { color: #c4b5fd; }
#hvDoors .hv-d2 h2 { margin: 8px 0 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
#hvDoors .hv-d2 .hv-ft { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0 0; padding: 0; }
#hvDoors .hv-d2 .hv-ft b { font-size: 1.05rem; color: #fff; } #hvDoors .hv-d2 .hv-ft b small { display: inline; margin-left: 2px; font-size: .8rem; font-weight: 600; color: #9aa4ae; }
#hvDoors .hv-d2 .hv-btn { display: inline-flex !important; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 99px; background: #e8642d; color: #fff; font-weight: 800; font-size: .86rem; }
#hvDoors .hv-d2.is-pro .hv-btn { background: #a78bfa; color: #160b2e; }
#hvDoors .hv-d2 .hv-btn i { font-style: normal; }
#hvDoors .hv-d2 .hv-ft::after { content: none; }
.hv-dots2 { display: none !important; }
@media (max-width: 760px) {
  #hvDoors.hv-doors { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #hvDoors .hv-d2, #hvDoors .hv-d2.is-pro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; padding: 14px 16px !important; }
  #hvDoors .hv-d2 .hv-k { grid-column: 1; }
  #hvDoors .hv-d2 h2 { grid-column: 1; margin-top: 4px; font-size: 1.04rem; }
  #hvDoors .hv-d2 .hv-ft { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  #hvDoors .hv-d2 .hv-btn { width: 34px; height: 34px; padding: 0; justify-content: center; font-size: 0; }
  #hvDoors .hv-d2 .hv-btn i { font-size: .95rem; }
}
#hvDoors .hv-d2 .hv-ft b small { display: inline !important; } #hvDoors .hv-d2 .hv-ft b { color: #fff !important; }
/* The title a little smaller (about 8 %), to sit on three lines on a computer. */
@media (min-width: 761px) { .hx h1 { font-size: clamp(2rem, 3.85vw, 3.22rem); } }
.hx-pf i { font-style: normal; }
/* Phones: the figures on one line (short words). */
@media (max-width: 760px) { .hx-pf { flex-wrap: nowrap; gap: 14px; white-space: nowrap; font-size: .82rem; } .hx-pf i { display: none; } }
/* Phones: the three figures as equal pills across the width (like the former phone opening). */
@media (max-width: 760px) {
  .hx-pf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hx-pf span { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; padding: 0 6px; border: 1px solid rgba(255,255,255,.1); border-radius: 99px; background: #0e0f12; font-size: .76rem; overflow: hidden; }
}
@media (max-width: 360px) { .hx-pf { grid-template-columns: 1.25fr 1fr 1fr; gap: 5px; } .hx-pf span { font-size: .7rem; padding: 0 4px; } }
@media (max-width: 340px) { .hx-pf span { font-size: .64rem; gap: 3px; } }
@media (max-width: 760px) { .hx-pf, .hx-pf:is(*) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hx-pf span:nth-child(3) { display: none; } .hx-pf span { font-size: .8rem; } }
/* Phones: a lighter opening (the short line, no Models card and no search: the button and the header loupe do it). */
@media (max-width: 760px) {
  .hx-l1 { display: none; }
  #hvDoors .hv-d2:first-child { display: none !important; }
  .hx ~ .hv-search { display: none !important; }
}

/* Hero title "Real photos. Made by AI." (maquettes/hero-phrases 1): a little bigger on a computer. */
@media (min-width: 761px) { .hx h1 { font-size: clamp(2.4rem, 4.7vw, 4.1rem); line-height: 1; } }

/* Hero touch-ups (maquettes/hero-retouche, validated): one big featured picture with a real caption,
   "Made by AI." in orange, quieter captions, the three offers with a catch line. */
#hlTitle .hx-ai { background: linear-gradient(90deg, #ffb48f, #ff6a2b 60%, #e8542a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-mos > a > span { left: 10px; bottom: 10px; padding: 2px 8px; font-size: .64rem; font-weight: 600; background: rgba(11,12,15,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.hx-mos > a:hover > span { opacity: 1; }
.hx-pf { color: rgba(255,255,255,.7); } .hx-pf b { font-size: 1.06em; } .hx-pf small { font-size: inherit; }
.hx-cap { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 14px; display: none; align-items: flex-end; justify-content: space-between; gap: 10px; }
.hx-cap small { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #ff8a55; }
.hx-cap b { display: block; margin-top: 3px; font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; color: #fff; line-height: 1.2; }
.hx-cap em { flex: none; padding-bottom: 2px; font-style: normal; font-size: .8rem; font-weight: 700; color: #e6e9ec; white-space: nowrap; }
.hx-cap em i { margin-left: 4px; font-style: normal; color: #ff8a55; transition: margin .25s; }
.hx-mos a:hover .hx-cap em i { margin-left: 8px; }
#hvDoors .hv-d2 { position: relative; overflow: hidden !important; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s; }
#hvDoors .hv-d2:hover { transform: translateY(-3px); border-color: rgba(255,106,43,.28) !important; }
#hvDoors .hv-d2.is-pro:hover { border-color: rgba(167,139,250,.45) !important; }
#hvDoors .hv-d2 .hv-ft { margin-top: auto !important; padding-top: 18px !important; }
#hvDoors .hv-hook { display: block; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .84rem; line-height: 1.45; font-weight: 500; color: rgba(225,232,245,.62); }
/* Graphite: the three offers and the search share the page background, only their edges draw them. */
#hvDoors .hv-d2, #hvDoors .hv-d2.is-pro, .hx ~ .hv-doors .hv-door.is-pro, .hx ~ #hvDoors .hv-door.is-pro { background: #0b0c0f !important; border-color: rgba(255,255,255,.08) !important; }
.hv-search .hv-in { background: rgba(11,12,15,.96); border-color: rgba(255,255,255,.09); }
.hv-search .hv-panel { background: #0b0c0f; } .hv-search .hl-th { background: #202124; }
.hv-search kbd { background: #1e1f22; border-color: rgba(255,255,255,.12); }
@media (min-width: 761px) {
  /* The figures, put forward: the number big, its label small under it, a thin line between them. */
  .hx-pf { margin-top: 28px; gap: 0; align-items: stretch; }
  .hx-pf > span { display: flex; flex-direction: column; gap: 3px; padding: 0 26px; border-left: 1px solid rgba(255,255,255,.12); }
  .hx-pf > span:first-child { padding-left: 0; border-left: 0; }
  .hx-pf b { font-size: 1.65rem; line-height: 1; letter-spacing: -.03em; font-weight: 800; }
  .hx-pf small { font-size: .8rem; color: rgba(255,255,255,.6); }
}
@media (min-width: 1001px) {
  .hx { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 30px; } .hx-cta { flex-wrap: nowrap; }
  .hx-mos { grid-template-columns: 1fr 1.7fr 1fr; grid-template-rows: auto auto; align-items: stretch; }
  .hx-mos a { transform: none !important; }
  .hx-mos a:nth-child(2) { grid-column: 2; grid-row: 1 / 3; box-shadow: 0 40px 80px -40px #000; }
  .hx-mos a:nth-child(2) img { height: 100%; aspect-ratio: auto; }
  .hx-mos a:nth-child(1) { grid-column: 1; grid-row: 1; } .hx-mos a:nth-child(3) { grid-column: 3; grid-row: 1; }
  .hx-mos a:nth-child(4) { grid-column: 1; grid-row: 2; } .hx-mos a:nth-child(6) { grid-column: 3; grid-row: 2; }
  .hx-mos a:nth-child(5) { display: none; }
  .hx-mos a:nth-child(2)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(0deg, rgba(10,11,14,.88), rgba(10,11,14,.45) 45%, transparent); pointer-events: none; }
  .hx-mos a:nth-child(2) > span { display: none; }
  .hx-cap { display: flex; }
}
@media (max-width: 760px) {
  .hx-br { display: none; }
  #hvDoors .hv-hook { display: none; }
}

/* Ready-made workflows: the same cards as the releases (picture full height, name and price over a dark fade). */
.hv-wc { position: relative; }
.hv-wc .hv-wci { aspect-ratio: 3 / 4; }
.hv-wc .hv-wci::after { content: ""; position: absolute; inset: 40% 0 0 0; background: linear-gradient(0deg, rgba(8,9,11,.95), rgba(8,9,11,.6) 45%, transparent); pointer-events: none; }
.hv-wc .hv-wct { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 14px 16px 16px; gap: 6px; }
.hv-wc .hv-wct b { font-size: 1.02rem; }
.hv-wcm { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hv-wcm small { color: rgba(255,255,255,.62); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hv-wcm em { flex: none; margin: 0; font-size: .88rem; } .hv-wcm em i { font-style: normal; margin-left: 2px; font-size: .8em; }
.hv-wci u { left: 12px; top: 12px; padding: 4px 10px; background: rgba(11,12,15,.75); color: #fff; font-size: .62rem; }
@media (max-width: 560px) { .hv-wc .hv-wct { padding: 10px 10px 12px; } .hv-wc .hv-wct b { font-size: .86rem; } .hv-wcm { flex-direction: column; align-items: flex-start; gap: 2px; } }

/* A free product on the cards: "Free" in green. */
.hv-mt em.is-free { color: #4ade80; }

/* The film (php/home_launch.php hl_film, Admin > Réglages > Film de l'accueil; maquettes/video-accueil). */
.ev { max-width: 1040px; margin: 44px auto 8px; }
.ev-media { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.08); aspect-ratio: 3.9 / 1; background: #000; }
.ev-poster, .ev-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ev-loop { opacity: 0; transition: opacity .6s; } .ev-loop.is-on { opacity: 1; }
.ev-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.45) 42%, rgba(0,0,0,0) 70%), linear-gradient(0deg, rgba(0,0,0,.5), transparent 40%); }
.ev-tx { position: absolute; left: 44px; top: 50%; transform: translateY(-50%); max-width: 420px; }
.ev-k { margin: 0 0 10px; color: #ff6a2b; font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.ev h2 { margin: 0; color: #fff; font-size: 2.2rem; line-height: 1.02; font-weight: 800; letter-spacing: -.03em; }
.ev-l { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 1rem; line-height: 1.5; }
.ev-act { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.ev-play { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 22px 0 6px; border: 0; border-radius: 99px; background: #fff; color: #0b0c0f; font: inherit; font-size: .95rem; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .2s; }
.ev-play:hover { transform: translateY(-1px); }
.ev-play i { display: grid; place-items: center; width: 32px; height: 32px; padding-left: 2px; border-radius: 50%; background: #ff6a2b; color: #fff; font-style: normal; font-size: .78rem; }
.ev-play small { color: #6b6f78; font-size: .85em; font-weight: 600; }
.ev-go { color: #fff; font-size: .92rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ev-go:hover { color: #ffb27a; }
.ev-live { position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.6); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.ev-live b { width: 6px; height: 6px; border-radius: 50%; background: #ff6a2b; }
@media (max-width: 760px) {
  .ev { margin: 28px 0 8px; }
  .ev-media { aspect-ratio: 7 / 6; border-radius: 18px; }
  .ev-shade { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,0) 75%); }
  .ev-tx { left: 20px; right: 20px; top: auto; bottom: 22px; transform: none; }
  .ev h2 { font-size: 1.7rem; } .ev-l { font-size: .92rem; }
  .ev-act { gap: 16px; } .ev-play { padding-right: 18px; } .ev-play small { display: none; } .ev-go { font-size: .88rem; }
  .ev-live { top: 14px; right: 14px; bottom: auto; }
}
/* The film opened: the whole film with its sound, then the way to the models. */
.evlb { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; background: rgba(5,5,7,.94); backdrop-filter: blur(8px); }
.evlb video { width: min(1100px, 100%); max-height: calc(100vh - 160px); aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.evlb-x { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font-size: 1.3rem; cursor: pointer; }
.evlb-cta { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.7); font-size: .9rem; }
.evlb-cta a { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 99px; background: #ff6a2b; color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 760px) { .evlb-cta { flex-direction: column; gap: 10px; text-align: center; } }

/* Home order (maquettes/accueil-simplifie): "Choose your base model" opens the page under the hero; the search bar
   stays in the header only. */
.hv-main #homeEngines.hv-sec { margin-top: clamp(32px, 4vw, 52px); padding-top: clamp(32px, 3.5vw, 44px); }
#homeLaunch > .hv-search { display: none; }
/* The hero's "Watch the film" button (php/home_launch.php hl_film_button). */
.hx-b.hx-film { gap: 10px; padding-left: 8px; font: inherit; font-weight: 800; color: #fff; cursor: pointer; }
.hx-film .hx-play { display: grid; place-items: center; width: 36px; height: 36px; padding-left: 2px; border-radius: 50%; background: #ff6a2b; color: #fff; font-size: .72rem; }
.hx-film small { color: rgba(255,255,255,.55); font-weight: 600; }
/* Phones: workflows and characters like New & popular, one card at a time swiped sideways, picture on top and
   everything else inside the same card under it. */
@media (max-width: 700px) {
  .hv-wf, .hv-main .hv-cast { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; margin-inline: -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .hv-wf::-webkit-scrollbar, .hv-main .hv-cast::-webkit-scrollbar { display: none; }
  .hv-wf > *, .hv-main .hv-cast > * { scroll-snap-align: start; }
  .hv-wc .hv-wci { aspect-ratio: 4 / 5; }
  .hv-wc .hv-wci::after { display: none; }
  .hv-wc .hv-wct { position: static; padding: 12px 14px 14px; gap: 4px; }
  .hv-wc .hv-wct b { font-size: 1rem; }
  .hv-wcm { flex-direction: column; align-items: flex-start; gap: 4px; } .hv-wcm em { font-size: .95rem; }
  .hv-wc.is-all { min-height: 0; }
  .hv-main .hv-cast > .hv-pfc:nth-child(n+5) { display: flex; }
  .hv-main .hv-pfc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: #111216; }
  .hv-main .hv-pfp { border: 0; border-radius: 0; }
  .hv-main .hv-pfb { flex: 1; gap: 6px; padding: 12px 14px 14px; }
  .hv-main .hv-pfb p { font-size: .86rem; }
  .hv-main .hv-pfm { margin-top: auto; font-size: .9rem; }
}
/* Built to order (maquettes/bloc-custom/C2.png): Custom LoRA twice as wide (your photo, then four scenes), Custom character,
   For brands. Pictures in their own 2:3 shape, never cut short. */
#homeCustom .hv-head { align-items: flex-end; }
#homeCustom .hv-head h2 span { color: #ff6a2b; }
.bo-lead { max-width: 380px; margin: 0; color: var(--hv-mu, #9aa4ae); }
.bo { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.bo-c { display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 18px; background: #111216; color: #fff; text-decoration: none; transition: border-color .2s, transform .2s; }
.bo-c:hover { border-color: rgba(255,255,255,.18); transform: translateY(-3px); }
.bo-ph { position: relative; display: block; overflow: hidden; aspect-ratio: 2 / 3; background: #1a1b1f; }
.bo-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
@media (hover: hover) { .bo-c:hover .bo-ph img { transform: scale(1.03); } }
.bo-vis { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.bo-sc { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.bo-sc .bo-ph { aspect-ratio: auto; }
.bo-ref { overflow: visible; } .bo-ref img { z-index: 0; }
.bo-arr { position: absolute; z-index: 2; right: -17px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: #ff6a2b; box-shadow: 0 0 0 4px #111216; font-style: normal; font-weight: 800; font-size: .9rem; }
.bo-l { position: absolute; z-index: 1; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 8px; background: rgba(10,11,14,.8); font-size: .72rem; font-weight: 800; }
.bo-tx { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 18px 20px 20px; }
.bo-k { color: #ff6a2b; font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.bo-c.is-v .bo-k, .bo-c.is-v .bo-go { color: #a78bfa; } .bo-c.is-g .bo-k { color: #9aa4ae; } .bo-c.is-g .bo-go { color: #fff; }
.bo-h { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; } .bo-h span { color: #ff6a2b; }
.bo-p { color: #9aa4ae; font-size: .88rem; line-height: 1.5; }
.bo-ft { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; }
.bo-ft > b { font-size: 1.05rem; white-space: nowrap; }
.bo-go { color: #ff6a2b; font-weight: 800; font-size: .9rem; white-space: nowrap; } .bo-go i, .bo-ft .hv-btn i { font-style: normal; }
.bo-ft .hv-btn { height: 42px; white-space: nowrap; }
@media (max-width: 900px) {
  .bo { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bo-lo { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  #homeCustom .hv-head { flex-direction: column; align-items: flex-start; }
  .bo-c:not(.bo-lo) .bo-tx { padding: 14px; } .bo-c:not(.bo-lo) .bo-h { font-size: 1.05rem; }
  .bo-c:not(.bo-lo) .bo-ft { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bo-sc .bo-l { display: none; }
  .bo-lo .bo-tx { padding: 16px; }
}
/* The last quote: as much room under it as above, before the footer. */
.hv-main .home-reviews.hv-sec { padding-bottom: clamp(48px, 5.5vw, 72px); }
