/* 想印 — home (v1.1): bright and airy, glossy 3D shapes, finished-piece photos, sections that fly in. */

/* ---------- hero ---------- */
.hm-hero { position: relative; min-height: max(700px, 100svh); overflow: hidden; display: flex; align-items: center; isolation: isolate; padding: calc(var(--head) + 70px) 0 110px; text-align: center; }
.hm-hero-gl { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hm-hero-gl canvas { display: block; }
.hm-hero-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; transform: translate3d(0, calc(var(--sk, 0) * -60px), 0); opacity: calc(1 - var(--sk, 0) * .9); }
.hm-hero-eyebrow { font: 600 12px/1 var(--display); letter-spacing: .42em; color: var(--blue); margin-bottom: clamp(18px, 3vh, 30px); }
.hm-hero-eyebrow i { font-style: normal; color: var(--m); margin: 0 .3em; }
.hm-hero-title { font-size: clamp(46px, min(9.4vw, 14vh), 142px); font-weight: 700; letter-spacing: -.05em; line-height: 1.02; }
.hm-hero-title-2 { display: inline-block; background: linear-gradient(100deg, var(--ink) 0%, var(--blue) 42%, var(--violet) 62%, var(--m) 86%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hm-hero-title-2 .ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
.hm-hero-sub { font-size: clamp(15px, 1.5vw, 19px); color: var(--muted); margin-top: clamp(18px, 3vh, 28px); max-width: 36em; line-height: 1.85; }
.hm-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: clamp(26px, 4vh, 40px); }
.hm-hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.hm-hero-points li { display: flex; align-items: center; gap: 8px; }
.hm-hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, var(--blue), rgba(47, 107, 255, 0) 70%); box-shadow: 0 0 10px 2px rgba(47, 107, 255, .25); }
@media (max-width: 700px) { .hm-br { display: none; } }

/* the printed pieces floating around the title */
.hm-cuts { position: absolute; inset: 0; z-index: 1; pointer-events: none; perspective: 1400px; }
.hm-cut { position: absolute; left: var(--x); top: var(--y); width: min(var(--w), 17vw); margin: 0; transform: translate3d(calc(var(--px, 0) * var(--z) * -1px), calc(var(--py, 0) * var(--z) * -1px + var(--sk, 0) * var(--z) * -6px), 0) rotateY(calc(var(--px, 0) * 12deg)) rotateX(calc(var(--py, 0) * -10deg)) rotate(var(--r)); transform-style: preserve-3d; }
.hm-cut img { width: 100%; filter: drop-shadow(0 30px 34px rgba(11, 14, 23, .22)) drop-shadow(0 6px 10px rgba(11, 14, 23, .1)); animation: hm-bob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.3s); opacity: 0; translate: 0 30px; transition: opacity 1.1s var(--ease), translate 1.4s var(--ease); transition-delay: calc(.5s + var(--i) * .12s); }
.hm-hero.is-gl .hm-cut img, .hm-hero.is-nogl .hm-cut img { opacity: 1; translate: 0 0; }
@keyframes hm-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(1.2deg); } }
@media (max-width: 1100px) { .hm-cut { width: min(var(--w), 15vw); } .hm-cut.is-brochure, .hm-cut.is-sticker { display: none; } }
@media (max-width: 760px) {
	.hm-hero { padding: calc(var(--head) + 50px) 0 120px; align-items: flex-start; }
	.hm-cut { width: 30vw; }
	.hm-cut.is-card { left: -4%; top: auto; bottom: 4%; }
	.hm-cut.is-poster { left: auto; right: -2%; top: auto; bottom: 3%; width: 26vw; }
	.hm-cut.is-invite { left: 36%; top: auto; bottom: -2%; width: 30vw; }
	.hm-cut.is-flyer { display: none; }
}
.hm-hint { position: absolute; left: clamp(16px, 3vw, 40px); bottom: 26px; z-index: 3; font: 600 11px var(--display); color: var(--muted); letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: calc(1 - var(--sk, 0) * 4); }
.hm-hint span { display: block; width: 1px; height: 34px; background: linear-gradient(var(--muted), transparent); animation: hm-line 1.8s ease-in-out infinite; }
@keyframes hm-line { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .hm-hint { display: none; } }
.page-home .xy-header { position: fixed; left: 0; right: 0; top: 34px; }
.page-home .xy-header.is-scrolled { top: 0; }

/* ---------- right-hand dot nav + progress ---------- */
.hm-dots { position: fixed; right: clamp(12px, 2vw, 28px); top: 50%; translate: 0 -50%; z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.hm-dots button { position: relative; width: 6px; height: 6px; border-radius: 50%; border: 0; padding: 0; background: rgba(11, 14, 23, .2); cursor: pointer; transition: transform .3s, background .3s; }
.hm-dots button::before { content: ""; position: absolute; inset: -8px; }
.hm-dots button.is-on { background: var(--blue); transform: scale(1.8); }
.hm-dots button span { position: absolute; right: 18px; top: 50%; translate: 0 -50%; white-space: nowrap; font: 600 11px var(--font); letter-spacing: .1em; color: var(--ink); opacity: 0; transition: opacity .2s; pointer-events: none; }
.hm-dots button:hover span, .hm-dots button:focus-visible span { opacity: 1; }
@media (max-width: 900px) { .hm-dots { display: none; } }
.hm-prog { position: fixed; left: 0; right: 0; bottom: 0; height: 2px; z-index: 40; pointer-events: none; }
.hm-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--c), var(--blue), var(--violet), var(--m)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- sections fly in (3D) ---------- */
[data-fly] { transform-style: preserve-3d; will-change: transform, opacity; }
.no-fly [data-fly] { will-change: auto; }

/* ---------- showcase (finished pieces) ---------- */
.hm-wall { padding: clamp(70px, 9vw, 130px) 0 clamp(50px, 6vw, 90px); overflow: hidden; }
.hm-wall .xy-head .num { font-weight: 700; color: var(--ink); }
.hm-marquee { display: grid; gap: 18px; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.hm-marquee-row { display: flex; gap: 18px; width: max-content; animation: hm-marq 70s linear infinite; }
.hm-marquee-row.is-rev { animation-direction: reverse; animation-duration: 80s; }
.hm-marquee:hover .hm-marquee-row { animation-play-state: paused; }
@keyframes hm-marq { to { transform: translateX(-50%); } }
.hm-shot { position: relative; flex: none; width: clamp(240px, 26vw, 360px); aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; text-decoration: none; box-shadow: 0 24px 50px -30px rgba(11, 14, 23, .45); transition: transform .5s var(--ease), box-shadow .5s; }
.hm-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hm-shot span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.hm-shot:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -30px rgba(11, 14, 23, .55); }
.hm-shot:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .hm-marquee-row { animation: none; } .hm-marquee { overflow-x: auto; } }

/* ---------- AI demo ---------- */
.hm-ai-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .hm-ai-grid { grid-template-columns: 1fr; } }
.hm-ai-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.hm-ai-list li { display: flex; gap: 12px; align-items: baseline; color: var(--muted); }
.hm-ai-list b { flex: none; font-size: 12px; font-weight: 600; letter-spacing: .08em; padding: 4px 11px; border-radius: 999px; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); background: #fff; }
.hm-ai-demo { position: relative; padding: clamp(18px, 3vw, 30px); border-radius: 30px; background: rgba(255, 255, 255, .66); backdrop-filter: blur(18px) saturate(1.3); box-shadow: 0 0 0 1px rgba(11, 14, 23, .06), 0 40px 80px -50px rgba(47, 107, 255, .45); }
.hm-prompt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 26px -18px rgba(11, 14, 23, .3); font-size: clamp(14px, 1.4vw, 16px); min-height: 56px; }
.hm-prompt-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; color: #fff; background: linear-gradient(135deg, var(--blue), var(--violet)); }
.hm-prompt-icon .xy-icon { width: 18px; height: 18px; }
.hm-prompt-text { flex: 1; }
.hm-prompt-caret { width: 2px; height: 20px; background: var(--blue); animation: hm-blink 1s steps(1) infinite; margin-left: -6px; }
@keyframes hm-blink { 50% { opacity: 0; } }
.hm-progress { display: flex; gap: 8px; margin: 16px 0; font-size: 12px; letter-spacing: .06em; }
.hm-progress span { padding: 5px 11px; border-radius: 999px; background: rgba(11, 14, 23, .05); color: var(--muted); transition: background .4s, color .4s; }
.hm-progress span.is-on { background: var(--ink); color: #fff; }
.hm-proposals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hm-proposal { margin: 0; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .8s var(--ease), opacity .8s var(--ease), filter .8s; }
.hm-proposal img { border-radius: 3px; box-shadow: 0 10px 18px -12px rgba(11, 14, 23, .45); }
.hm-proposal figcaption { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 8px; }
.hm-proposal figcaption b { color: var(--ink); }
.hm-ai-demo:not(.is-done) .hm-proposal { opacity: 0; transform: translateY(30px) scale(.94); filter: blur(8px); }
.hm-ai-demo.is-done .hm-proposal { transition-delay: calc(var(--i) * .12s); }
.hm-ai-demo.is-done .hm-proposal:first-child { box-shadow: 0 0 0 2px var(--blue), 0 18px 40px -16px rgba(47, 107, 255, .6); }
@media (max-width: 600px) { .hm-proposals { grid-template-columns: repeat(2, 1fr); } }

/* ---------- booth ---------- */
.hm-booth-card { position: relative; display: block; max-width: 1080px; margin: 0 auto; border-radius: 30px; overflow: hidden; text-decoration: none; box-shadow: 0 60px 100px -60px rgba(11, 14, 23, .6), 0 0 0 1px rgba(11, 14, 23, .05); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hm-booth-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.2s var(--ease); }
.hm-booth-card:hover img { transform: scale(1.03); }
.hm-booth-chips { position: absolute; left: 18px; top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hm-booth-chips span { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px); font-size: 13px; }
.hm-booth-chips b { font-weight: 700; }
.hm-booth-go { position: absolute; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; letter-spacing: .06em; transition: transform .4s var(--ease); }
.hm-booth-card:hover .hm-booth-go { transform: translateX(-4px); }
.hm-booth-steps { list-style: none; padding: 0; margin: 30px auto 0; max-width: 1080px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hm-booth-steps li { padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px var(--line); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.hm-booth-steps b { font: 600 12px var(--display); letter-spacing: .2em; color: var(--blue); }
@media (max-width: 800px) { .hm-booth-steps { grid-template-columns: 1fr 1fr; } .hm-booth-chips span:nth-child(n+2) { display: none; } .hm-booth-go { padding: 11px 16px; font-size: 14px; } }

/* ---------- scenes (horizontal) ---------- */
.hm-scenes { padding: clamp(72px, 9vw, 120px) 0; overflow: hidden; }
.hm-scenes-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: end; margin-bottom: 44px; }
@media (max-width: 800px) { .hm-scenes-head { grid-template-columns: 1fr; } }
.hm-scenes-track { display: flex; gap: 18px; padding: 10px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 30px; width: max-content; }
.hm-scene { position: relative; width: clamp(250px, 26vw, 330px); flex: none; border-radius: 26px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); padding: 12px; text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s, transform .5s var(--ease); transform-style: preserve-3d; }
.hm-scene:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.hm-scene-num { position: absolute; top: 22px; left: 24px; z-index: 2; font: 600 12px var(--display); letter-spacing: .2em; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .86); }
.hm-scene-media { aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--paper-2); }
.hm-scene-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hm-scene:hover .hm-scene-media img { transform: scale(1.07); }
.hm-scene-txt { display: flex; flex-direction: column; gap: 4px; padding: 16px 10px 10px; }
.hm-scene-txt strong { font-size: 21px; font-weight: 700; }
.hm-scene-txt small { color: var(--muted); font-size: 14px; line-height: 1.6; padding-right: 44px; }
.hm-scene-go { position: absolute; right: 18px; bottom: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, color .3s, transform .4s var(--ease); }
.hm-scene:hover .hm-scene-go { background: var(--ink); color: #fff; transform: rotate(-45deg); }
.hm-scenes:not(.is-pinned) .hm-scenes-track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hm-scenes:not(.is-pinned) .hm-scene { scroll-snap-align: start; }

/* ---------- stacking steps ---------- */
.hm-stack { display: grid; gap: 40px; }
.hm-step { position: sticky; top: calc(var(--head) + 30px + var(--n) * 22px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 60px); align-items: center; min-height: min(560px, 72vh); padding: clamp(26px, 4vw, 56px); border-radius: 34px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--line), 0 -30px 60px -50px rgba(11, 14, 23, .35); transform-origin: 50% 0; overflow: hidden; }
.hm-step:nth-child(2) { background: rgba(241, 245, 255, .94); }
.hm-step:nth-child(3) { background: rgba(250, 244, 255, .95); }
@media (max-width: 860px) { .hm-step { grid-template-columns: 1fr; position: relative; top: auto; min-height: 0; } }
.hm-step-no { font: 600 13px var(--display); letter-spacing: .3em; color: var(--blue); display: block; margin-bottom: 14px; }
.hm-step h3 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.02em; margin-bottom: 14px; }
.hm-step p { color: var(--muted); font-size: 17px; }
.hm-step-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.hm-step-art-1 img { position: absolute; width: 54%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 30px 50px -24px rgba(11, 14, 23, .5); }
.hm-step-art-1 img:nth-child(1) { left: 0; top: 8%; transform: rotate(-6deg); }
.hm-step-art-1 img:nth-child(2) { left: 24%; top: 34%; z-index: 2; transform: rotate(2deg); }
.hm-step-art-1 img:nth-child(3) { left: 46%; top: 4%; transform: rotate(7deg); }
.hm-editor { display: grid; grid-template-columns: 34% 1fr; width: 100%; max-width: 520px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.hm-editor-side { padding: 22px 16px; display: grid; gap: 12px; align-content: start; background: #F7F9FC; border-right: 1px solid var(--line); }
.hm-editor-side i { display: block; height: 30px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); position: relative; }
.hm-editor-side i::after { content: ""; position: absolute; left: 10px; top: 12px; height: 6px; width: calc(var(--w) - 20px); border-radius: 4px; background: var(--paper-3); }
.hm-editor-side i:nth-child(2) { box-shadow: inset 0 0 0 2px var(--blue); }
.hm-editor-side i:nth-child(2)::after { background: rgba(47, 107, 255, .25); animation: hm-type 3s ease-in-out infinite; }
@keyframes hm-type { 0% { width: 10%; } 60%, 100% { width: calc(var(--w) - 20px); } }
.hm-editor-side b { height: 34px; border-radius: 999px; background: var(--ink); margin-top: 6px; }
.hm-editor-canvas { padding: 22px; position: relative; background: repeating-conic-gradient(#EEF1F6 0 25%, #F7F9FC 0 50%) 0 0 / 18px 18px; }
.hm-editor-canvas img { box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .45); }
.hm-editor-sel { position: absolute; left: 14%; top: 17%; width: 60%; height: 12%; border: 2px solid var(--blue); border-radius: 3px; box-shadow: 0 0 0 4px rgba(47, 107, 255, .15); animation: hm-sel 3s ease-in-out infinite; }
@keyframes hm-sel { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.hm-step-art-3 { grid-template-columns: 1fr auto; gap: 24px; }
.hm-check { position: relative; width: min(380px, 100%); padding: 22px; }
.hm-check img { border-radius: 3px; box-shadow: 0 30px 60px -24px rgba(11, 14, 23, .6); }
.hm-check-bleed { position: absolute; inset: 10px; border: 1.5px dashed var(--m); border-radius: 4px; animation: hm-sel 2.6s ease-in-out infinite; }
.hm-check-safe { position: absolute; inset: 36px; border: 1.5px dashed var(--c); border-radius: 3px; animation: hm-sel 2.6s ease-in-out infinite .8s; }
.hm-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.hm-check-list li { display: flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); white-space: nowrap; }
.hm-check-list li::before { content: "✓"; color: var(--ok); font-weight: 900; }
@media (max-width: 600px) { .hm-step-art-3 { grid-template-columns: 1fr; } .hm-check-list { grid-template-columns: 1fr 1fr; } }

/* ---------- CMYK ---------- */
.hm-cmyk { position: relative; overflow: hidden; }
.hm-cmyk-pin { min-height: 100vh; display: flex; align-items: center; padding: 80px 0; }
.hm-cmyk-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
@media (max-width: 900px) { .hm-cmyk-grid { grid-template-columns: 1fr; } .hm-cmyk-pin { min-height: 0; } }
.hm-cmyk-legend { list-style: none; padding: 0; margin: 30px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hm-cmyk-legend li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 14px; }
.hm-cmyk-legend b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 700 13px var(--latin); }
.hm-cmyk-legend li:nth-child(1) b { background: var(--c); }
.hm-cmyk-legend li:nth-child(2) b { background: var(--m); }
.hm-cmyk-legend li:nth-child(3) b { background: var(--y); color: var(--ink); }
.hm-cmyk-stage { perspective: 1600px; display: grid; place-items: center; min-height: 520px; }
.hm-plates { position: relative; width: min(340px, 72vw); aspect-ratio: 536 / 760; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateZ(var(--rz, 0deg)); background: #fff; box-shadow: 0 50px 80px -40px rgba(11, 14, 23, .55); }
.hm-plate { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: multiply; transform: translateZ(calc(var(--sep, 0) * var(--z) * 1px)) translateY(calc(var(--sep, 0) * var(--z) * -.35px)); }
.hm-plates.is-split { background: transparent; box-shadow: none; }
.hm-plates.is-split .hm-plate { mix-blend-mode: normal; filter: drop-shadow(0 20px 26px rgba(11, 14, 23, .18)); background: rgba(255, 255, 255, .9); }
.hm-crop { position: absolute; width: 22px; height: 22px; border-color: rgba(11, 14, 23, .4); border-style: solid; border-width: 0; opacity: var(--crop, 1); }
.hm-crop.tl { left: -30px; top: -30px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hm-crop.tr { right: -30px; top: -30px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hm-crop.bl { left: -30px; bottom: -30px; border-right-width: 1.5px; border-top-width: 1.5px; }
.hm-crop.br { right: -30px; bottom: -30px; border-left-width: 1.5px; border-top-width: 1.5px; }
@media (max-width: 900px) { .hm-cmyk-stage { min-height: 460px; margin-top: 30px; } .hm-plates { width: min(260px, 62vw); } }

/* ---------- upload / layers ---------- */
.hm-upload-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
@media (max-width: 900px) { .hm-upload-grid { grid-template-columns: 1fr; } }
.hm-layers { position: relative; max-width: 440px; margin: 0 auto; border-radius: 6px; box-shadow: var(--shadow); }
.hm-layers > img { border-radius: 4px; transition: filter .6s var(--ease); }
.hm-layers.is-on > img { filter: saturate(.4) brightness(1.06) opacity(.55); }
.hm-layer-boxes { position: absolute; inset: 0; pointer-events: none; }
.hm-layer { position: absolute; border: 1.5px solid var(--c); background: rgba(0, 166, 214, .08); border-radius: 3px; opacity: 0; transform: scale(.92); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.hm-layer.is-image { border-color: var(--m); background: rgba(229, 48, 126, .08); }
.hm-layer em { position: absolute; left: -1.5px; top: -20px; font: 700 11px/1 var(--font); font-style: normal; color: #fff; background: var(--c); padding: 4px 6px; border-radius: 4px 4px 4px 0; white-space: nowrap; }
.hm-layer.is-image em { background: var(--m); }
.hm-layers.is-on .hm-layer { opacity: 1; transform: none; }
.hm-layers-toggle { position: absolute; right: 14px; bottom: -18px; border: 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; box-shadow: var(--shadow-s); }
.hm-paths { display: grid; gap: 14px; margin-top: 30px; }
.hm-path { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 22px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .3s, transform .4s var(--ease); }
.hm-path:hover { transform: translateX(6px); box-shadow: 0 0 0 1px var(--ink); }
.hm-path strong { display: block; font-size: 18px; font-weight: 700; }
.hm-path small { color: var(--muted); font-size: 15px; }
.hm-path-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); }
.hm-path-ico.is-ai { background: linear-gradient(135deg, var(--violet), var(--m)); color: #fff; }

/* ---------- product rows + floating preview ---------- */
.hm-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.hm-rows li { border-bottom: 1px solid var(--line-2); position: relative; isolation: isolate; }
.hm-rowlink { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: clamp(16px, 2vw, 24px) 6px; text-decoration: none; position: relative; transition: padding .45s var(--ease), color .3s; }
.hm-rowlink::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; border-radius: 4px; }
.hm-rowlink:hover { color: #fff; padding-left: 26px; padding-right: 26px; }
.hm-rowlink:hover::before { transform: none; }
.hm-row-name { font-size: clamp(24px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.03em; display: flex; gap: 12px; align-items: center; }
.hm-row-name .xy-tag { position: static; font-size: 12px; }
.hm-row-meta { color: var(--muted); font-size: 15px; transition: color .3s; }
.hm-rowlink:hover .hm-row-meta { color: rgba(255, 255, 255, .6); }
.hm-row-price { font-size: 18px; font-weight: 700; }
.hm-row-price small { font: 500 12px var(--font); }
.hm-row-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; transition: background .3s, transform .4s var(--ease); }
.hm-rowlink:hover .hm-row-go { background: var(--blue); box-shadow: none; transform: rotate(-45deg); }
@media (max-width: 700px) { .hm-rowlink { grid-template-columns: 1fr auto; } .hm-row-meta { grid-column: 1; grid-row: 2; margin-top: -14px; } .hm-row-go { display: none; } }
.hm-float { position: fixed; left: 0; top: 0; width: 320px; pointer-events: none; z-index: 30; opacity: 0; transform: translate(-50%, -50%) scale(.6) rotate(-6deg); transition: opacity .35s var(--ease), transform .45s var(--ease); }
.hm-float img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px; box-shadow: 0 40px 60px -24px rgba(11, 14, 23, .5); }
.hm-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
@media (hover: none) { .hm-float { display: none; } }

/* ---------- guide teaser ---------- */
.hm-guide-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hm-guide-in .xy-btn { margin-top: 28px; }
@media (max-width: 900px) { .hm-guide-in { grid-template-columns: 1fr; } }
.hm-guide-art { position: relative; display: block; border-radius: 24px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(11, 14, 23, .55), 0 0 0 1px rgba(11, 14, 23, .06); }
.hm-guide-art img { width: 100%; filter: brightness(.55) saturate(.8); transition: filter .6s; }
.hm-guide-spot { position: absolute; left: 6%; top: 18%; width: 30%; height: 44%; border-radius: 16px; box-shadow: 0 0 0 2px #fff, 0 0 40px 6px rgba(255, 255, 255, .35); backdrop-filter: brightness(1.9) saturate(1.25); animation: hm-spot 6s var(--ease) infinite; }
@keyframes hm-spot { 0%, 22% { left: 6%; top: 18%; width: 30%; height: 44%; } 33%, 55% { left: 40%; top: 12%; width: 32%; height: 70%; } 66%, 88% { left: 76%; top: 8%; width: 20%; height: 22%; } 100% { left: 6%; top: 18%; width: 30%; height: 44%; } }
.hm-guide-play { position: absolute; right: 20px; bottom: 20px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.hm-guide-play .xy-icon { width: 24px; height: 24px; fill: currentColor; }
.hm-guide-art:hover .hm-guide-play { transform: scale(1.1); }

/* ---------- promises ---------- */
.hm-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .hm-promises { grid-template-columns: 1fr; } }
.hm-promise-card { position: relative; padding: 30px 28px 34px; border-radius: 28px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transform-style: preserve-3d; transition: box-shadow .4s; }
.hm-promise-card:hover { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.hm-promise-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -80px; border-radius: 50%; opacity: .5; }
.hm-promise-card:nth-child(1)::before { background: radial-gradient(closest-side, rgba(0, 166, 214, .45), rgba(0, 166, 214, 0)); }
.hm-promise-card:nth-child(2)::before { background: radial-gradient(closest-side, rgba(229, 48, 126, .38), rgba(229, 48, 126, 0)); }
.hm-promise-card:nth-child(3)::before { background: radial-gradient(closest-side, rgba(255, 199, 44, .55), rgba(255, 199, 44, 0)); }
.hm-promise-k { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em; padding: 6px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--ink); margin-bottom: 22px; }
.hm-promise-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.hm-promise-card p { color: var(--muted); }

/* ---------- CTA ---------- */
.hm-cta { position: relative; padding: clamp(100px, 13vw, 190px) 0; text-align: center; }
.hm-cta-in { display: flex; flex-direction: column; align-items: center; }
.hm-cta-title { font-size: clamp(44px, 8vw, 118px); font-weight: 700; letter-spacing: -.05em; line-height: 1.04; }
.hm-cta-title span { background: linear-gradient(100deg, var(--blue), var(--violet) 45%, var(--m) 80%, var(--y)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-home .xy-footer { padding-top: 40px; }
