/* Homepage v11 — storefront layout. Scoped under body.home */
:root { --ink:#0c1b3d; --ink-2:#3a4866; --paper:#f5f6f8; --hair:#dde2ea; --ink-c:#00aeef; --ink-m:#ec008c; --ink-y:#ffe600; --font:'Figtree','Inter',system-ui,sans-serif; --display:'Bricolage Grotesque','Figtree',system-ui,sans-serif; }
@font-face { font-family:'Bricolage Grotesque'; font-weight:200 800; font-display:swap; src:url('../fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family:'Figtree'; font-weight:300 900; font-display:swap; src:url('../fonts/figtree-latin-wght-normal.woff2') format('woff2'); }

body.home { background: #fff; color: var(--ink); overflow-x: clip; }
.home .wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.home h1, .home h2, .home h3 { color: inherit; letter-spacing: -.02em; margin: 0; font-family: var(--display); }
.home a:focus-visible, .home button:focus-visible, .home input:focus-visible { outline: 3px solid var(--ink-c); outline-offset: 3px; }
.home img { max-width: 100%; }

/* buttons */
.hbtn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 12px; font: 700 15px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; }
.hbtn:hover { transform: translateY(-2px); }
.hbtn.solid { background: var(--ink-m); color: #fff; box-shadow: 0 10px 22px -10px rgba(236,0,140,.7); }
.hbtn.solid.dark { background: var(--ink); box-shadow: 0 10px 22px -10px rgba(12,27,61,.6); }
.hbtn.solid.light { background: #fff; color: var(--ink); box-shadow: none; }
.hbtn.ghost { border-color: currentColor; color: inherit; background: transparent; }

/* ── hero slider ── */
.hs { position: relative; display: grid; background: #0c1b3d; }
.hs-slide { grid-area: 1 / 1; background: var(--bg); color: var(--fg); opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 7vw, 88px); }
.hs-slide.on { opacity: 1; visibility: visible; }
.hs-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.hs-k { font: 700 14px var(--font); margin: 0 0 16px; padding-left: 12px; border-left: 4px solid currentColor; opacity: .9; }
.hs-h { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.02; font-weight: 800; max-width: 13ch; }
.hs-d { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.55; max-width: 46ch; margin: 20px 0 28px; opacity: .92; }
.hs-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hs-slide[style*="#ffe600"] .hbtn.solid, .hs-slide[style*="#00aeef"] .hbtn.solid { background: var(--ink); box-shadow: none; }
.hs-slide[style*="#ec008c"] .hbtn.solid { background: #fff; color: var(--ink-m); box-shadow: none; }
.hs-art { position: relative; aspect-ratio: 4 / 3.2; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); transform: rotate(1.5deg); background: rgba(255,255,255,.15); }
.hs-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-chip { position: absolute; background: #fff; color: var(--ink); font: 700 13px var(--font); padding: 8px 14px; border-radius: 99px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.4); }
.hs-chip.c1 { left: 14px; top: 14px; } .hs-chip.c2 { right: 14px; bottom: 14px; }
.hs-ctl { position: absolute; left: 0; right: 0; bottom: 20px; display: flex; justify-content: center; align-items: center; gap: 14px; z-index: 3; }
.hs-nav { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; }
.hs-dots { display: flex; gap: 8px; } .hs-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.55); padding: 0; cursor: pointer; transition: width .25s, background .25s; }
.hs-dots button.on { width: 30px; background: #fff; }

/* ── trust bar ── */
.trust { background: #fff; border-bottom: 1px solid var(--hair); }
.trust-in { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 16px 0; }
.trust-in div { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: center; }
.trust-in i { grid-row: span 2; width: 38px; height: 38px; display: grid; place-items: center; background: #eef6fd; color: #0a78b4; border-radius: 12px; font-size: 16px; }
.trust-in b { font: 700 14px var(--font); } .trust-in span { font-size: 12.5px; color: var(--ink-2); }

/* ── sections ── */
.home .sec { padding: clamp(40px, 6vw, 76px) 0; }
.home .sec-tight { padding-top: 0; }
.sec-tint { background: var(--paper); }
.sec-ink { background: var(--ink); color: #fff; }
.sec-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 18px; margin-bottom: 24px; }
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; margin-right: auto; }
.more { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink-m); padding-bottom: 2px; }
.center { text-align: center; margin-top: 30px; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
.cats .cat { max-width: 210px; width: 100%; justify-self: center; }
.cat { display: block; text-decoration: none; color: var(--ink); text-align: center; }
.cat-img { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 0 0 2px var(--cc), 0 14px 26px -16px rgba(12,27,61,.5); transition: transform .25s; background: var(--paper); }
.cat:hover .cat-img { transform: scale(1.05) rotate(-2deg); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat b { display: block; margin-top: 12px; font: 700 15px var(--font); } .cat small { color: var(--ink-2); font-size: 12.5px; }

/* promo banners */
.pb { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.pb-item { position: relative; display: block; border-radius: 22px; overflow: hidden; min-height: 250px; color: #fff; text-decoration: none; background: var(--ink); }
.pb-1 { grid-row: span 2; min-height: 520px; }
.pb-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pb-item:hover img { transform: scale(1.05); }
.pb-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,27,61,.86), rgba(12,27,61,.2) 70%); }
.pb-txt { position: absolute; z-index: 2; left: 0; bottom: 0; right: 0; padding: clamp(18px, 3vw, 32px); display: grid; gap: 6px; }
.pb-txt > * { max-width: 34ch; }
.pb-txt b { font: 800 clamp(20px, 2.4vw, 30px)/1.1 var(--display); } .pb-txt em { font-style: normal; font-size: 14px; opacity: .9; }
.pb-txt u { text-decoration: none; justify-self: start; margin-top: 8px; background: #fff; color: var(--ink); font-weight: 700; padding: 9px 16px; border-radius: 10px; font-size: 14px; }

/* tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.tabs button { flex: none; border: 1.5px solid var(--hair); background: #fff; border-radius: 99px; padding: 9px 16px; font: 700 14px var(--font); color: var(--ink); cursor: pointer; }
.tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid .gi[hidden] { display: none; }
.grid-empty { text-align: center; color: var(--ink-2); padding: 30px 0; }

/* product cards */
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--hair); border-radius: 18px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(12,27,61,.4); }
.pimg { position: relative; display: block; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.pcard:hover .pimg img { transform: scale(1.06); }
.pimg.noimg { background: linear-gradient(145deg, var(--cc), color-mix(in srgb, var(--cc) 55%, #000)); }
.pbadge, .poff { position: absolute; left: 12px; top: 12px; z-index: 2; background: var(--ink); color: #fff; font: 700 12px var(--font); padding: 5px 11px; border-radius: 99px; text-transform: capitalize; }
.poff { background: var(--ink-m); }
.wish { position: absolute; right: 10px; top: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.wish svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 2; }
.wish[aria-pressed="true"] svg { fill: var(--ink-m); stroke: var(--ink-m); }
.pbody { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.pcat { font-size: 12.5px; color: var(--ink-2); }
.pname { font: 700 15.5px/1.3 var(--font); color: var(--ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.pfoot { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; }
.pprice b { font: 800 19px var(--display); } .pprice s { color: #8a95ad; font-size: 13.5px; margin-left: 4px; }
.prate { font-weight: 700; font-size: 13.5px; }
.pbtn { margin-top: 8px; text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: 11px 0; font: 700 14px var(--font); text-decoration: none; transition: background .15s; }
.pbtn:hover { background: var(--ink-m); }

/* rails */
.rail-block + .rail-block { margin-top: 48px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 270px); gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 14px; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail-ctl { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink); }
.rail-btn:hover { background: var(--ink); color: #fff; }

/* studio teaser */
.studio { background: linear-gradient(135deg, #0c1b3d, #15306b); color: #fff; }
.studio-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.studio h2 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 800; max-width: 16ch; }
.studio-copy > p { color: #c4cee6; line-height: 1.6; margin: 14px 0 22px; max-width: 52ch; }
.sf { display: grid; gap: 8px; margin-bottom: 16px; } .sf > label, .sf > span { font: 700 13px var(--font); color: #c4cee6; }
.sf input { background: #fff; color: var(--ink); border: 0; border-radius: 12px; padding: 14px 16px; font: 700 18px var(--font); max-width: 380px; width: 100%; }
.sw { display: flex; gap: 10px; } .sw button { width: 34px; height: 34px; border-radius: 50%; border: 3px solid transparent; background: var(--s); cursor: pointer; box-shadow: 0 0 0 1.5px rgba(255,255,255,.5); }
.sw button.on { border-color: #fff; box-shadow: 0 0 0 3px var(--ink-c); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; } .chips button { border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 99px; padding: 8px 16px; font: 700 14px var(--font); cursor: pointer; }
.chips button.on { background: #fff; color: var(--ink); border-color: #fff; }
.ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 8px; color: #dbe4f7; }
.ticks li::before { content: "✓"; color: var(--ink-y); font-weight: 800; margin-right: 10px; }
.studio-view { display: grid; justify-items: center; gap: 14px; padding: 28px; background: repeating-conic-gradient(#e8ecf4 0 25%, #f6f8fc 0 50%) 0 0 / 28px 28px; border-radius: 26px; }
.mock { --mc: #ec008c; width: min(320px, 78%); aspect-ratio: 1; display: grid; place-items: center; background: var(--mc); color: #fff; border: 8px solid #fff; box-shadow: 0 0 0 2px rgba(12,27,61,.12), 0 24px 40px -18px rgba(12,27,61,.55); border-radius: 50%; transition: background .25s, border-radius .25s; overflow: hidden; padding: 14px; text-align: center; }
.mock.round { border-radius: 26px; } .mock.sq { border-radius: 4px; }
.mock span { font: 800 clamp(30px, 6vw, 54px)/1.05 'Bricolage Grotesque', sans-serif; word-break: break-word; max-width: 100%; }
.mock.dk { color: var(--ink); }
.sv-note { margin: 0; font-size: 12.5px; color: #4a5878; text-align: center; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.steps .n { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--ink-m); font-size: 20px; }
.steps li:nth-child(2) .n { background: var(--ink-c); } .steps li:nth-child(3) .n { background: var(--ink-y); color: var(--ink); } .steps li:nth-child(4) .n { background: #16a34a; }
.steps b { font: 700 18px var(--display); } .steps p { margin: 0; color: #c4cee6; font-size: 14.5px; line-height: 1.55; }

/* mosaic */
.mos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mos a { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.mos a:nth-child(1), .mos a:nth-child(6) { grid-row: span 2; aspect-ratio: auto; }
.mos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; } .mos a:hover img { transform: scale(1.06); }

/* quotes */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quotes figure { margin: 0; background: #fff; border: 1px solid var(--hair); border-radius: 18px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.stars { color: #f5a300; letter-spacing: 2px; }
.quotes blockquote { margin: 0; line-height: 1.6; color: var(--ink-2); }
.quotes figcaption b { display: block; } .quotes figcaption span { color: var(--ink-2); font-size: 13.5px; }

/* CTA */
.cta { background: linear-gradient(100deg, var(--ink-m), #7a2cff); color: #fff; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(36px, 5vw, 56px) 0; }
.cta h2 { font-size: clamp(24px, 3vw, 38px); font-weight: 800; max-width: 22ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* offer popup */
.offer { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 16px; background: rgba(12,27,61,.6); }
.offer[hidden] { display: none; }
.offer-card { position: relative; background: #fff; border-radius: 24px; padding: 34px 30px 30px; max-width: 420px; width: 100%; text-align: center; display: grid; gap: 12px; justify-items: center; animation: ofIn .35s ease; }
.offer-card h2 { font-size: 28px; font-weight: 800; } .offer-card p { margin: 0; color: var(--ink-2); }
.of-k { font: 700 13px var(--font); color: var(--ink-m) !important; }
.offer-x { position: absolute; right: 12px; top: 10px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; cursor: pointer; color: var(--ink); }
.code { display: flex; align-items: center; gap: 10px; border: 2px dashed var(--ink-m); border-radius: 14px; padding: 8px 8px 8px 18px; }
.code b { font: 800 22px var(--display); letter-spacing: .08em; } .code button { border: 0; background: var(--ink); color: #fff; border-radius: 10px; padding: 10px 14px; font: 700 14px var(--font); cursor: pointer; }
@keyframes ofIn { from { transform: translateY(24px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }

/* image fallback */
.pimg.noimg::after { content: "\f03e"; font: 900 54px "Font Awesome 6 Free"; color: rgba(255,255,255,.75); position: absolute; inset: 0; display: grid; place-items: center; }

/* ── responsive ── */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } .cats { grid-template-columns: repeat(5, 1fr); gap: 12px; } .trust-in { grid-template-columns: repeat(3, 1fr); } .trust-in div:nth-child(n+4) { display: none; } }
@media (max-width: 860px) {
  .hs-in { grid-template-columns: 1fr; } .hs-art { order: -1; aspect-ratio: 16 / 10; transform: none; border-radius: 20px; }
  .hs-h { max-width: none; } .hs-slide { padding-bottom: 76px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .pbody { padding: 12px; } .pname { font-size: 14px; } .pprice b { font-size: 17px; }
  .cats { display: flex; overflow-x: auto; gap: 14px; padding-bottom: 8px; scroll-snap-type: x proximity; scrollbar-width: none; } .cat { flex: 0 0 96px; scroll-snap-align: start; } .cat b { font-size: 13px; } .cat small { display: none; }
  .pb { grid-template-columns: 1fr; grid-template-rows: none; } .pb-1 { grid-row: auto; min-height: 260px; } .pb-item { min-height: 190px; }
  .studio-in { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, 1fr); } .quotes { grid-template-columns: 1fr; } .mos { grid-template-columns: repeat(2, 1fr); } .mos a:nth-child(1), .mos a:nth-child(6) { grid-row: auto; aspect-ratio: 1; }
  .rail { grid-auto-columns: 62%; } .rail-ctl { display: none; } .trust-in { grid-template-columns: repeat(2, 1fr); } .trust-in div:nth-child(3) { display: none; }
  .hs-nav { display: none; }
}
@media (max-width: 420px) { .hbtn { padding: 0 18px; min-height: 46px; } .steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .home * { transition: none !important; animation: none !important; } }
.pfoot { flex-wrap: wrap; row-gap: 2px; } .pprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; } .prate { white-space: nowrap; }
