/* FIGYRKI.BY home page ("variant C" shelf). Shared shell and tokens come from storefront.css. */
@font-face { font-family: 'Onest'; src: url('/assets/fonts/Onest-Variable.ttf') format('truetype'); font-weight: 100 900; font-display: swap; }

.hm { --paper: var(--bg); --surface: var(--panel); --ink: var(--text); --coral: var(--accent); --coral-deep: var(--accent-2); --peach: #f5e5da; --sage: #dde4d7; }
.hm .sf-cta { background: var(--ink); color: var(--paper) !important; font-weight: 600; }
.hm .sf-footer { margin-top: 0; }

/* Buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 'Onest', 'Manrope', sans-serif; text-decoration: none; transition: transform .25s var(--ease), background .25s; }
.hm-btn-p { background: var(--coral); color: var(--ink) !important; box-shadow: 0 10px 30px -12px rgba(181,83,61,.55); }
.hm-btn-p:hover { background: #ef9479; transform: translateY(-2px); }
.hm-btn-d { background: var(--ink); color: var(--paper) !important; }
.hm-btn-d:hover { background: #3a443f; transform: translateY(-2px); }
.hm-btn-q { padding-inline: 4px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.hm-btn-l { background: var(--paper); color: var(--ink) !important; }
.hm-btn-l:hover { background: #fff; transform: translateY(-2px); }
.hm-btn-lq { color: var(--paper) !important; padding-inline: 4px; text-decoration: underline; text-underline-offset: 6px; }
.hm-btn-lq:hover { color: var(--coral) !important; }
.hm-acts { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* Section rhythm */
.hm-sec { padding-top: 110px; }
.hm-sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.hm-h { margin: 0; font-size: clamp(34px, 4.4vw, 60px); font-weight: 740; line-height: 1; letter-spacing: -.04em; text-wrap: balance; }
.hm-lead { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 44ch; }
.hm-lead-gap { margin: 20px 0 32px; }
.hm-note { margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* 1. Shelf hero */
.hm-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; padding-block: 8px; }
.hm-intro h1 { margin: 0; font-size: clamp(40px, 5.2vw, 80px); font-weight: 760; line-height: .95; letter-spacing: -.045em; text-wrap: balance; }
.hm-intro p { margin: 0 0 26px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.hm-scene { position: relative; padding-top: 48px; }
.hm-row { --h25: 440px; position: relative; display: flex; align-items: flex-end; gap: 18px; height: calc(var(--h25) + 70px); padding-left: 64px; transition: transform .6s var(--ease); }
.hm-ruler { position: absolute; left: 0; bottom: 0; width: 46px; height: var(--h25); border-right: 1.5px solid var(--ink); }
.hm-ruler span, .hm-size-ruler span { position: absolute; right: -1.5px; display: flex; align-items: center; gap: 6px; transform: translateY(50%); color: var(--muted); font-size: 12px; white-space: nowrap; }
.hm-ruler span::after { content: ''; width: 10px; height: 1.5px; background: var(--ink); }
.hm-item { position: relative; flex: 1 1 0; min-width: 0; height: calc(var(--h25) * var(--k)); text-decoration: none; transform-origin: 50% 100%; transition: translate .6s var(--ease); }
.hm-box { position: absolute; inset: 0; display: block; border-radius: 22px 22px 6px 6px; overflow: clip; box-shadow: 0 18px 30px -22px rgba(41,49,45,.6); transition: transform .45s var(--spring), box-shadow .45s; }
.hm-box > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hm-item:hover .hm-box, .hm-item:focus-visible .hm-box { transform: translateY(-12px); box-shadow: 0 30px 40px -24px rgba(41,49,45,.55); }
.hm-tag { position: absolute; z-index: 4; left: 50%; bottom: calc(100% + 4px); width: max-content; max-width: 170px; padding: 9px 12px; border-radius: 10px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.35; transform: translateX(-50%) translateY(8px) rotate(-4deg); transform-origin: 50% 120%; opacity: 0; pointer-events: none; transition: opacity .2s, transform .45s var(--spring); }
.hm-tag b { display: block; font-weight: 650; }
.hm-tag::after { content: ''; position: absolute; left: 50%; top: 100%; border: 6px solid transparent; border-top-color: var(--ink); transform: translateX(-50%); }
.hm-item:hover .hm-tag, .hm-item:focus-visible .hm-tag { opacity: 1; transform: translateX(-50%) translateY(-12px) rotate(0); }
.hm-you .hm-box { border: 2px dashed var(--coral-deep); }
.hm-you-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--coral-deep); }
.hm-you-up { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--surface); font-size: 13px; font-weight: 650; box-shadow: 0 8px 18px -12px rgba(41,49,45,.5); }
.hm-you-img { position: absolute; inset: 0; z-index: 1; overflow: clip; background: #f6ece2; clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.hm-you-img .hm-view { position: absolute; top: 0; left: 50%; height: 100%; transform: translateX(-50%); }
.hm-you.is-revealed .hm-you-img { clip-path: inset(0 0 0 0); }
.hm-you-scan { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 2px; background: var(--coral-deep); box-shadow: 0 0 0 1px rgba(235,135,105,.3), 0 0 22px 5px rgba(235,135,105,.5); opacity: 0; pointer-events: none; }
.hm-you.is-revealed .hm-you-scan { animation: hm-scan 1.4s var(--ease) forwards; }
@keyframes hm-scan { 0% { top: 0; opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.hm-youlabel { position: absolute; z-index: 3; top: 12px; left: 50%; transform: translateX(-50%); padding: 6px 10px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 650; white-space: nowrap; transition: background .3s; }
.hm-you.is-revealed .hm-youlabel { background: var(--coral-deep); }
.hm-plank { position: relative; height: 34px; margin-left: 30px; border-radius: 4px; background: linear-gradient(#ead9c6 0 9px, #d7bea4 9px 100%); box-shadow: 0 26px 40px -26px rgba(41,49,45,.55); }
.hm-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 36px 0 0 64px; }
.hm-strip div { display: grid; gap: 4px; }
.hm-strip b { font-size: 17px; font-weight: 650; }
.hm-strip span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.is-dropping .hm-item { animation: hm-drop .9s cubic-bezier(.3,1.5,.5,1) backwards; animation-delay: var(--delay); }
@keyframes hm-drop { 0% { opacity: 0; transform: translateY(-140px) rotate(var(--r, -4deg)); } 55% { opacity: 1; } 70% { transform: translateY(0) scaleY(.94) scaleX(1.03); } 100% { transform: none; } }

/* Figurine views: one sprite (turnaround-v2.webp holds front, side, back, face side by side). */
.hm-view { display: block; aspect-ratio: 418 / 941; background: url('/assets/turnaround-v2.webp') 0 0 / 400% 100% no-repeat; }
.hm-view.v-front { background-position-x: 0; }
.hm-view.v-side { background-position-x: 33.333%; }
.hm-view.v-back { background-position-x: 66.667%; }

/* 2. Story */
.hm-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
.hm-vis { position: sticky; top: calc(var(--header-h) + 24px); height: 620px; border-radius: 30px; overflow: clip; background: var(--peach); }
.hm-frame { position: absolute; inset: 0; display: grid; place-items: center; padding: 28px; opacity: 0; transform: scale(.97); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .5s; visibility: hidden; }
.hm-frame.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.hm-frame-photo img { width: 100%; height: 100%; object-fit: contain; }
.hm-frame-turn { padding: 0; place-items: stretch; }
.hm-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.hm-trio figure { margin: 0; }
.hm-trio img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 18px; background: #ebe4dd; }
.hm-trio figcaption { margin-top: 8px; text-align: center; font-weight: 600; font-size: 14px; }
.hm-receipt { width: min(340px, 100%); padding: 26px; border-radius: 22px; background: var(--surface); box-shadow: 0 24px 50px -30px rgba(41,49,45,.5); }
.hm-receipt h3 { margin: 0 0 18px; font-size: 19px; }
.hm-receipt dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0 0 18px; font-size: 15px; }
.hm-receipt dt { color: var(--muted); }
.hm-receipt dd { margin: 0; font-weight: 600; text-align: right; }
.hm-receipt .hm-tot { padding-top: 14px; border-top: 1.5px dashed var(--line); font-size: 18px; }
.hm-receipt p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.hm-steps .hm-h { margin-bottom: 48px; }
.hm-st { min-height: 500px; padding-top: 8px; opacity: .35; transition: opacity .4s; }
.hm-st.is-on { opacity: 1; }
.hm-st span { display: block; margin-bottom: 14px; color: var(--coral-deep); font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-st h3 { margin: 0 0 14px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; }
.hm-st p { max-width: 38ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.hm-st:last-child { min-height: 340px; }

/* Turntable */
.hm-stage { position: relative; height: 100%; width: 100%; overflow: clip; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; background: radial-gradient(120% 80% at 50% 30%, #fbf3ea 0%, #f1e2d4 55%, #ead5c4 100%); }
.hm-stage.is-dragging { cursor: grabbing; }
.hm-light { position: absolute; inset: -20%; pointer-events: none; background: radial-gradient(40% 35% at var(--lx, 50%) 28%, rgba(255,255,255,.7), transparent 70%); }
.hm-ring { position: absolute; left: 50%; bottom: 6%; width: 84%; transform: translateX(-50%); overflow: visible; pointer-events: none; }
.hm-fig { position: absolute; left: 50%; bottom: 7%; height: 86%; aspect-ratio: 418 / 941; transform: translateX(-50%); }
.hm-fig .hm-view { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .42s var(--ease); pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 52%, transparent 96%); mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 52%, transparent 96%); }
.hm-fig .hm-view.is-on { opacity: 1; }
.hm-fig .hm-view.is-mir { transform: scaleX(-1); }
.hm-fig.is-turn-a { animation: hm-turn-a .46s var(--ease); }
.hm-fig.is-turn-b { animation: hm-turn-b .46s var(--ease); }
@keyframes hm-turn-a { 40% { transform: translateX(-50%) scaleX(.9); } }
@keyframes hm-turn-b { 40% { transform: translateX(-50%) scaleX(.9); } }
.hm-face { position: absolute; top: 11%; right: 7%; width: 34%; aspect-ratio: 1; margin: 0; border-radius: 50%; overflow: hidden; border: 6px solid var(--surface); box-shadow: 0 24px 40px -18px rgba(41,49,45,.45); transform: scale(.2) translate(-120%, 60%); opacity: 0; transform-origin: 20% 80%; transition: transform .6s var(--spring), opacity .35s; pointer-events: none; }
.hm-face-img { display: block; width: 100%; height: 100%; background: url('/assets/turnaround-v2.webp') 100% 4% / 400% auto no-repeat; }
.hm-stage.is-face .hm-face { transform: none; opacity: 1; }
.hm-dial { position: absolute; left: 50%; bottom: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px; transform: translateX(-50%); border-radius: 999px; background: rgba(255,253,250,.8); backdrop-filter: blur(8px); }
.hm-dial button { position: relative; z-index: 1; min-width: 76px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 600 13px/1 'Onest', 'Manrope', sans-serif; cursor: pointer; }
.hm-dial button[aria-pressed="true"] { color: var(--ink); }
.hm-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); border-radius: 999px; background: var(--surface); box-shadow: 0 4px 12px -6px rgba(41,49,45,.35); transition: transform .4s var(--ease); }
.hm-hint { position: absolute; top: 22px; left: 24px; display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; transition: opacity .5s; }
.hm-hint svg { animation: hm-nudge 1.8s ease-in-out infinite; }
@keyframes hm-nudge { 50% { transform: translateX(6px); } }
.hm-stage.is-touched .hm-hint { opacity: 0; }

/* 3. Styles */
.hm-styles { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hm-style-list { display: grid; gap: 10px; }
.hm-style-btn { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center; width: 100%; padding: 20px 22px; border: 1.5px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.hm-style-btn:hover { border-color: #cfc9bb; }
.hm-style-btn.is-on { border-color: var(--coral-deep); background: #fff6f0; }
.hm-style-btn i { grid-row: span 2; display: grid; place-items: center; width: 28px; height: 28px; border: 1.5px solid var(--line); border-radius: 50%; font-style: normal; font-size: 13px; color: transparent; transition: all .35s var(--spring); }
.hm-style-btn.is-on i { border-color: var(--coral-deep); background: var(--coral-deep); color: var(--paper); transform: scale(1.08); }
.hm-style-btn b { font-size: 22px; letter-spacing: -.02em; }
.hm-style-btn span { color: var(--muted); font-size: 15px; }
/* The caption sits under the picture (stage margin leaves room), so it never covers the figure. */
.hm-style-stage { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 2 / 3; margin-bottom: 64px; border-radius: 32px; background: radial-gradient(ellipse at 50% 40%, #f3ece6, #e6ddd5); }
.hm-style-stage img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 32px; object-fit: cover; opacity: 0; transition: opacity .55s var(--ease); }
.hm-style-stage img.is-on { opacity: 1; }
.hm-style-cap { position: absolute; left: 0; right: 0; top: calc(100% + 14px); margin-inline: auto; width: fit-content; max-width: 100%; padding: 10px 16px; border-radius: 14px; background: var(--panel); border: 1.5px solid var(--line); font-size: 14px; text-align: center; }

/* 4. Size */
.hm-size { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hm-size-stage { position: relative; height: 540px; border-radius: 32px; background: var(--surface); border: 1.5px solid var(--line); overflow: clip; }
.hm-size-ruler { position: absolute; left: 28px; top: 40px; bottom: 64px; width: 40px; border-right: 1.5px solid var(--ink); }
.hm-size-ruler span::after { content: ''; width: 8px; height: 1.5px; background: var(--ink); }
.hm-size-floor { position: absolute; left: 68px; right: 0; bottom: 64px; height: 1.5px; background: var(--ink); }
.hm-size-row { position: absolute; left: 120px; right: 40px; bottom: 65px; top: 40px; display: flex; align-items: flex-end; justify-content: center; gap: clamp(24px, 5vw, 72px); }
.hm-mug { position: relative; height: 40%; aspect-ratio: .9; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.hm-mug-body { position: relative; width: 78%; height: 100%; border-radius: 8px 8px 18px 18px; background: #dfe6d9; border: 1.5px solid #9fae99; }
.hm-mug-body::after { content: ''; position: absolute; right: -30%; top: 22%; width: 34%; height: 44%; border: 6px solid #dfe6d9; border-left: 0; border-radius: 0 40px 40px 0; box-shadow: 1.5px 0 0 #9fae99; }
.hm-mug small, .hm-sfig small { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; white-space: nowrap; }
.hm-sfig { position: relative; aspect-ratio: 418 / 941; transition: height .7s var(--spring); }
.hm-sfig .hm-view { width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 52%, transparent 96%); mask-image: radial-gradient(ellipse 50% 58% at 50% 50%, #000 52%, transparent 96%); }
.hm-size-picks { display: flex; gap: 10px; margin: 32px 0 0; }
.hm-size-picks button { min-width: 96px; min-height: 56px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: 700 18px 'Onest', 'Manrope', sans-serif; cursor: pointer; transition: all .3s var(--ease); }
.hm-size-picks button:hover { border-color: #cfc9bb; }
.hm-size-picks button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.hm-size-copy > p:not(.hm-note) { max-width: 40ch; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

/* 5. Catalog teaser */
.hm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hm-card { display: grid; gap: 14px; text-decoration: none; }
.hm-card-img { position: relative; display: block; aspect-ratio: 1; border-radius: 26px; overflow: clip; background: #29312d; }
.hm-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .9s var(--ease); }
.hm-card-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,10,14,.45), transparent 45%); }
.hm-card-img img { position: absolute; left: 50%; bottom: 0; height: 88%; width: auto; max-width: 92%; object-fit: contain; object-position: 50% 100%; transform: translateX(-50%); filter: drop-shadow(0 18px 18px rgba(0,0,0,.5)); transition: transform .5s var(--spring); }
.hm-card:hover .hm-card-bg { transform: scale(1.06); }
.hm-card:hover .hm-card-img img, .hm-card:focus-visible .hm-card-img img { transform: translateX(-50%) translateY(-10px) scale(1.03); }
.hm-card-img em { position: absolute; top: 14px; left: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(255,253,250,.86); color: var(--ink); font-style: normal; font-size: 12px; font-weight: 600; }
.hm-card-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.hm-card h3 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.hm-card-row b { white-space: nowrap; font-size: 17px; }
.hm-card p { margin: -6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.hm-grid-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; }
.hm-grid-foot p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.hm-grid-foot p a { color: var(--ink); text-underline-offset: 4px; }
.hm-reveal .hm-card { opacity: 0; transform: translateY(14px); }
.hm-reveal.is-in .hm-card { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 60ms); }

/* 6. Before order */
.hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1.5px solid var(--ink); }
.hm-facts div { display: grid; align-content: start; gap: 10px; padding: 24px 24px 24px 0; }
.hm-facts div + div { padding-left: 24px; border-left: 1.5px solid var(--line); }
.hm-facts dt { color: var(--muted); font-size: 14px; }
.hm-facts dd { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.hm-facts dd small { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; font-weight: 400; letter-spacing: 0; line-height: 1.45; }
.hm-confirm { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; margin-top: 32px; padding: 32px; border-radius: 28px; background: var(--sage); }
.hm-confirm h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.hm-confirm ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.hm-confirm li { display: flex; gap: 10px; align-items: baseline; line-height: 1.45; }
.hm-confirm li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); transform: translateY(-2px); }

/* 7. FAQ */
.hm-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px 64px; }
.hm-faq-list { border-top: 1.5px solid var(--ink); }
.hm-faq details { border-bottom: 1.5px solid var(--line); }
.hm-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 44px; padding: 22px 0; font-size: 19px; font-weight: 650; cursor: pointer; list-style: none; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 1.5px solid var(--line); border-radius: 50%; font-weight: 500; transition: transform .35s var(--spring), background .3s; }
.hm-faq details[open] summary::after { transform: rotate(45deg); background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hm-faq details p { max-width: 60ch; margin: 0 0 22px; color: var(--muted); font-size: 16px; line-height: 1.6; animation: hm-in .35s var(--ease); }
@keyframes hm-in { from { opacity: 0; transform: translateY(14px); } }
.hm-faq-more { margin: 24px 0 0; text-align: right; }
.hm-faq-more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-underline-offset: 5px; }

/* 8. Closing */
.hm-closing { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; margin-block: 110px 100px; padding: clamp(32px, 5vw, 64px); border-radius: 36px; background: var(--ink); color: var(--paper); overflow: clip; }
.hm-closing h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); font-weight: 740; line-height: 1; letter-spacing: -.04em; }
.hm-closing p { max-width: 44ch; margin: 16px 0 0; color: #c9ccc4; font-size: 17px; line-height: 1.55; }
.hm-closing .hm-acts { position: relative; z-index: 1; }
.hm-closing-star { position: absolute; right: -30px; bottom: -90px; font-size: 280px; line-height: 1; color: var(--coral); opacity: .18; pointer-events: none; }
.hm-closing :focus-visible { outline-color: var(--coral); }

.hm-mbar { display: none; }

@media (max-width: 1100px) {
  .hm-row { --h25: 340px; gap: 12px; }
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hm-intro, .hm-sec-head { grid-template-columns: 1fr; }
  .hm-scene { overflow: visible; padding-top: 32px; }
  .hm-row { --h25: min(300px, 78vw); gap: 12px; height: calc(var(--h25) + 40px); padding-left: 44px; transform: none !important; }
  .hm-ruler { width: 34px; }
  .hm-ruler span { font-size: 11px; }
  .hm-row > .hm-item:nth-child(2), .hm-row > .hm-item:nth-child(3), .hm-row > .hm-item:nth-child(7), .hm-row > .hm-item:nth-child(8) { display: none; }
  .hm-item { flex: 1 1 0; translate: none !important; }
  .hm-tag { display: none; }
  .hm-box { border-radius: 18px 18px 6px 6px; }
  .hm-plank { margin-left: 22px; height: 26px; }
  .hm-strip { grid-template-columns: 1fr; gap: 14px; margin: 26px 0 0; }
  .hm-strip div { padding: 14px 16px; border-radius: 16px; background: var(--surface); }
  .hm-sec { padding-top: 72px; }
  .hm-story, .hm-styles, .hm-size, .hm-faq, .hm-confirm { grid-template-columns: 1fr; }
  .hm-vis { display: none; }
  .hm-steps .hm-h { margin-bottom: 28px; }
  .hm-st, .hm-st:last-child { min-height: 0; padding: 0 0 40px; opacity: 1; }
  .hm-st .hm-frame { position: relative; inset: auto; margin-top: 18px; padding: 16px; border-radius: 24px; background: var(--peach); opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .hm-st .hm-frame-photo { aspect-ratio: 2 / 1; padding: 0; overflow: clip; }
  .hm-st .hm-frame-photo img { object-fit: cover; }
  .hm-st .hm-frame-turn { aspect-ratio: 4 / 5; padding: 0; overflow: clip; }
  .hm-st .hm-receipt { width: 100%; box-shadow: none; }
  .hm-style-stage { width: min(72%, 300px); margin-bottom: 70px; }
  .hm-size-copy { order: -1; }
  .hm-size-stage { height: 360px; }
  .hm-size-row { left: 84px; right: 16px; }
  .hm-dial { left: 12px; right: 12px; bottom: 12px; transform: none; }
  .hm-dial button { min-width: 0; padding: 0 4px; font-size: 12px; }
  .hm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .hm-card { gap: 8px; }
  .hm-card-img { border-radius: 18px; }
  .hm-card-img em { top: 8px; left: 8px; padding: 4px 8px; font-size: 11px; }
  .hm-card-row { flex-direction: column; gap: 2px; }
  .hm-card h3 { font-size: 16px; }
  .hm-card-row b { font-size: 14px; color: var(--muted); }
  .hm-card p { display: none; }
  .hm-confirm ul { grid-template-columns: 1fr; }
  .hm-facts { grid-template-columns: 1fr 1fr; }
  .hm-facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hm-facts div:nth-child(n+3) { border-top: 1.5px solid var(--line); }
  .hm-faq-more { text-align: left; }
  .hm-mbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(247,244,237,.95); backdrop-filter: blur(10px); border-top: 1.5px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .hm-mbar.is-on { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .hm-mbar-txt { display: grid; gap: 2px; }
  .hm-mbar-txt b { font-size: 18px; }
  .hm-mbar-txt small { color: var(--muted); font-size: 12px; }
  .hm-mbar .hm-btn { min-height: 48px; padding: 0 20px; white-space: nowrap; }
  .hm .sf-footer { padding-bottom: 110px; }
  .hm .sf-toast { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 480px) {
  .hm-facts { grid-template-columns: 1fr; }
  .hm-facts div, .hm-facts div + div { padding-left: 0; border-left: 0; }
  .hm-facts div + div { border-top: 1.5px solid var(--line); }
  .hm-trio { gap: 8px; }
  .hm-trio figcaption { font-size: 12px; }
  .hm-closing { border-radius: 28px; }
  .hm-closing-star { font-size: 200px; }
  .hm-size-picks button { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; transition: none !important; }
  .hm-reveal .hm-card { opacity: 1; transform: none; }
}
