/* Dyenzo marketing site, home only (marketing/home.blade.php): the module bento, the shop types, the problem collage and the
   tour film (the scroll story is pages.css). Loaded after presale.css on home. Every part reads in full without
   public/site/home.js; the script only adds motion, and none with reduced motion. */

/* ---------- Hero: the quote scene, large, lit from below in the four inks ---------- */
.ps-hero-scene { position: relative; width: 1120px; max-width: 100%; margin: 0 auto; }
.ps-hero-scene::before { content: ""; position: absolute; z-index: -1; inset: 8% 4% -6%; border-radius: 40px; filter: blur(60px); opacity: .55;
  background: linear-gradient(90deg, var(--c-hi, #2BB3E0), var(--m-hi, #E63D9A) 50%, var(--y, #F5C518)); }
.ps-hero-scene .sc-win { box-shadow: 0 40px 90px -30px rgb(0 0 0 / .7); }

/* ---------- The module bento ---------- */
.ps-bento { --gap: 22px; margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.ps-big { position: relative; display: flex; flex-direction: column; padding: 28px 28px 0; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform .45s var(--dz-ease), box-shadow .45s var(--dz-ease), border-color .45s; }
.ps-big.wide { grid-column: span 2; }
.ps-big::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.ps-big::after { content: ""; position: absolute; z-index: -1; inset: auto -20% -40% -20%; height: 70%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); opacity: 0; transition: opacity .45s var(--dz-ease); }
.ps-big:hover, .ps-big:focus-visible { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--accent) 45%, transparent), 0 18px 40px -24px rgb(14 15 20 / .25); }
.ps-big:hover::after, .ps-big:focus-visible::after { opacity: 1; }
.ps-big:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ps-big-head { display: flex; gap: 16px; align-items: flex-start; }
.ps-big-ico { flex: none; display: grid; place-items: center; width: var(--tile-m); height: var(--tile-m); border-radius: var(--tile-r-m); background: var(--accent); color: var(--accent-ink); font-size: var(--ico-m); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.ps-big-head strong { display: block; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
.ps-big-head span span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.ps-big-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; font-size: 15px; }
.ps-big-points li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; }
.ps-big-points i { margin-top: 3px; color: var(--accent-text); font-size: 16px; font-weight: 700; }
.ps-big-go { margin-top: 16px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--accent-text); font-size: 15px; }
.ps-big-go i { transition: transform .3s var(--dz-ease); }
.ps-big:hover .ps-big-go i, .ps-big:focus-visible .ps-big-go i { transform: translateX(4px); }
/* The screen sits in the flow at the foot of its tile and is shown whole: the tile grows to hold it, so the row below can never
   cover it. It bleeds off the right edge only, and lifts on hover into the space kept above it. */
.ps-big-shot { position: relative; display: block; margin: auto -28px 0 18px; padding-top: 24px; }
.ps-big-shot img { display: block; width: 100%; height: auto; border-radius: 14px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0;
  box-shadow: 0 -10px 40px -18px rgb(14 15 20 / .35); transition: transform .55s var(--dz-ease); }
.ps-big:hover .ps-big-shot img, .ps-big:focus-visible .ps-big-shot img { transform: translateY(-8px); }
/* The hub: one database, with a plug down from each tile above and up to each tile below. */
.ps-hub { grid-column: 1 / -1; position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; padding: 22px 28px; border-radius: 22px; background: var(--stage); color: #fff; }
.ps-hub-glow { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.ps-hub-sheen { position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .09), transparent); transform: translateX(-100%); }
.ps-hub strong { display: inline-flex; gap: 10px; align-items: center; font-size: 1.2rem; letter-spacing: -.01em; }
.ps-hub strong i { color: var(--y); font-size: 24px; }
.ps-hub ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ps-hub li { padding: 6px 13px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); font-size: 14px; font-weight: 600; }
.ps-hub-note { margin-left: auto; color: rgb(255 255 255 / .62); font-size: 14px; }
.ps-plug { position: absolute; width: 2px; height: var(--gap); background: var(--accent); overflow: hidden; }
.ps-plug.u1, .ps-plug.u2, .ps-plug.u3 { bottom: 100%; }
.ps-plug.d1, .ps-plug.d2 { top: 100%; }
.ps-plug.u1, .ps-plug.d1 { left: calc(25% - 1px); } .ps-plug.u2 { left: calc(62.5% - 1px); } .ps-plug.u3 { left: calc(87.5% - 1px); } .ps-plug.d2 { left: calc(75% - 1px); }
.ps-plug i { position: absolute; left: -2px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--y); opacity: 0; }
.ps-smalls { grid-column: 1 / -1; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ps-smalls li.wide { grid-column: span 2; }
.ps-small { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: start; padding: 20px 44px 20px 20px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); color: var(--text); text-decoration: none; transition: transform .35s var(--dz-ease), box-shadow .35s var(--dz-ease); }
.ps-small:hover, .ps-small:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 40px -24px color-mix(in srgb, var(--accent) 60%, transparent); }
.ps-small:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ps-small-ico { display: grid; place-items: center; width: var(--tile-s); height: var(--tile-s); border-radius: var(--tile-r-s); background: var(--accent); color: var(--accent-ink); font-size: var(--ico-s); }
.ps-small strong { display: block; font-size: 1.05rem; }
.ps-small span span { display: block; margin-top: 2px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.ps-small-go { position: absolute; right: 16px; top: 18px; color: var(--muted); font-size: 18px; transition: transform .3s var(--dz-ease), color .3s; }
.ps-small:hover .ps-small-go, .ps-small:focus-visible .ps-small-go { color: var(--accent-text); transform: translate(2px, -2px); }
.ink-y .ps-big-points i, .ink-y .ps-big-go, .ink-y .ps-small-go { color: var(--y-text, #7A5F00); }
@media (max-width: 1020px) {
  .ps-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-big.wide, .ps-big { grid-column: span 1; }
  .ps-big:first-child { grid-column: 1 / -1; }
  .ps-plug { display: none; }
  .ps-smalls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-hub-note { margin-left: 0; }
}
@media (max-width: 640px) {
  .ps-bento { grid-template-columns: minmax(0, 1fr); --gap: 14px; }
  .ps-big, .ps-big:first-child { grid-column: auto; padding: 22px 22px 0; }
  .ps-big-shot { margin: auto -22px 0 14px; padding-top: 20px; }
  /* Small tiles: a sideways row that snaps, so the big ones come first. */
  .ps-smalls { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -18px; padding: 4px 18px 10px; scrollbar-width: none; }
  .ps-smalls::-webkit-scrollbar { display: none; }
  .ps-smalls li, .ps-smalls li.wide { flex: 0 0 78%; scroll-snap-align: start; }
}

/* ---------- The tour film: a big play button over a product frame ---------- */
.ps-filmbox { position: relative; margin-top: 36px; }
.ps-filmbox .ps-film { margin-top: 0; }
.ps-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; width: 100%; border: 0; border-radius: 22px; cursor: pointer; font: inherit; color: #fff;
  background: radial-gradient(60% 60% at 50% 50%, rgb(14 15 20 / .35), rgb(14 15 20 / .05)); }
.ps-play-ring { display: grid; place-items: center; width: 104px; height: 104px; border-radius: 50%; background: var(--y); color: #15161C; font-size: 44px; box-shadow: 0 0 0 14px rgb(245 197 24 / .22), 0 24px 50px -10px rgb(0 0 0 / .55); transition: transform .35s var(--dz-ease), box-shadow .35s var(--dz-ease); }
.ps-play-ring i { margin-left: 6px; }
.ps-play > span:last-child { padding: 8px 16px; border-radius: 999px; background: rgb(14 15 20 / .72); font-weight: 700; font-size: 16px; }
.ps-play small { font-weight: 500; opacity: .75; margin-left: 6px; font-size: 14px; }
.ps-play:hover .ps-play-ring, .ps-play:focus-visible .ps-play-ring { transform: scale(1.06); box-shadow: 0 0 0 20px rgb(245 197 24 / .26), 0 24px 50px -10px rgb(0 0 0 / .55); }
.ps-play:focus-visible { outline: 3px solid var(--y); outline-offset: 4px; }
.ps-play[hidden] { display: none; }
@media (max-width: 640px) { .ps-play-ring { width: 72px; height: 72px; font-size: 30px; } .ps-play > span:last-child { font-size: 14px; } }

/* ---------- The problem: every scrap readable, in two loose columns ---------- */
.ps-mess { min-height: 540px; }
.ps-scrap { width: 44%; }
.ps-scrap.s1 { left: 3%; right: auto; top: 4%; bottom: auto; transform: rotate(-4deg); z-index: 1; }
.ps-scrap.s2 { right: 3%; left: auto; top: 13%; bottom: auto; transform: rotate(3deg); z-index: 1; }
.ps-scrap.s3 { left: 4%; right: auto; top: 28%; bottom: auto; transform: rotate(2.5deg); z-index: 1; }
.ps-scrap.s4 { right: 4%; left: auto; top: 38%; bottom: auto; transform: rotate(-3.5deg); z-index: 1; }
.ps-scrap.s5 { left: 2%; right: auto; top: 52%; bottom: auto; transform: rotate(-2deg); z-index: 1; }
.ps-scrap.s6 { right: 3%; left: auto; top: 63%; bottom: auto; transform: rotate(3deg); z-index: 1; }
.ps-scrap.s7 { left: 5%; right: auto; top: 77%; bottom: auto; transform: rotate(1.5deg); z-index: 1; }
@media (max-width: 640px) { .ps-mess { min-height: 0; } .ps-scrap { width: auto; } }

/* ---------- Built for your kind of shop ---------- */
.ps-trades { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ps-trades li.big { grid-column: span 2; }
.ps-trades li.wide { grid-column: 1 / -1; }
.ps-trades a { height: 100%; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none;
  transition: transform .45s var(--dz-ease), box-shadow .45s var(--dz-ease); }
.ps-trades a:hover, .ps-trades a:focus-visible { transform: translateY(-5px); box-shadow: 0 30px 60px -32px color-mix(in srgb, var(--accent) 55%, transparent), 0 16px 34px -24px rgb(14 15 20 / .3); }
.ps-trades a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ps-trade-media { position: relative; display: block; height: 300px; overflow: hidden; background: var(--surface-2); border-bottom: 4px solid var(--accent); }
.ps-trade-media img, .ps-trade-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-trade-media video { opacity: 0; transition: opacity .5s var(--dz-ease); }
.ps-trade-media video.on { opacity: 1; }
.ps-trade-media img { transition: transform .8s var(--dz-ease); }
.ps-trades a:hover .ps-trade-media img { transform: scale(1.03); }
.ps-trade-chip { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; flex-wrap: wrap; gap: 4px 12px; max-width: calc(100% - 32px); padding: 9px 14px; border-radius: 14px;
  background: rgb(14 15 20 / .72); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); border: 1px solid rgb(255 255 255 / .16); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }
.ps-trade-chip span { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.ps-trade-chip i { color: var(--y); font-size: 16px; }
.ps-trade-body { display: grid; gap: 8px; padding: 22px 24px 24px; flex: 1; align-content: start; }
.ps-trade-body strong { font-size: 1.3rem; letter-spacing: -.02em; }
.ps-trade-line { color: var(--muted); }
.ps-trade-caps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ps-trade-caps span { padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; font-weight: 600; }
.ps-trades .ink-k .ps-trade-caps span { background: var(--surface-2); color: var(--text); }
.ps-trade-go { margin-top: 8px; display: inline-flex; gap: 6px; align-items: center; font-weight: 700; color: var(--accent-text); }
.ps-trade-go i { transition: transform .3s var(--dz-ease); }
.ps-trades a:hover .ps-trade-go i, .ps-trades a:focus-visible .ps-trade-go i { transform: translateX(4px); }
.ps-trades li.big .ps-trade-media { height: 300px; }
.ps-trades li.wide a { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.ps-trades li.wide .ps-trade-media { height: 100%; min-height: 300px; border-bottom: 0; border-right: 4px solid var(--accent); }
.ps-trades li.wide .ps-trade-body { align-content: center; padding: 32px; }
.ps-trades li.wide strong { font-size: 1.6rem; }
@media (max-width: 1020px) {
  .ps-trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-trades li.big { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ps-trades { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ps-trades li.big, .ps-trades li.wide { grid-column: auto; }
  .ps-trades li.wide a { display: flex; }
  .ps-trades li.wide .ps-trade-media { height: 220px; min-height: 0; border-right: 0; border-bottom: 4px solid var(--accent); }
  .ps-trade-media, .ps-trades li.big .ps-trade-media { height: 220px; }
  .ps-trade-chip { font-size: 13px; }
}
@media (prefers-reduced-transparency: reduce) { .ps-trade-chip { background: #15161C; -webkit-backdrop-filter: none; backdrop-filter: none; } }

@media (prefers-color-scheme: dark) { .ps-hub { border: 1px solid rgb(255 255 255 / .12); } }
.nw { white-space: nowrap; }
@media (max-width: 640px) {
  .ps-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; }
  .ps-play > span:last-child { display: none; }
}

/* Hero picture: one order through the shop in four real screens (partials/hero-flow). 2 x 2 on wide screens, one column on phones. */
.ps-flow { list-style: none; margin: 56px auto 0; padding: 0; width: 1180px; max-width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; counter-reset: none; }
.ps-flow > .ps-flow-step { margin: 0; padding: 0; }
.ps-flow-step { background: var(--stage-2, #171920); border: 1px solid var(--stage-line, #272A35); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.ps-flow-shot { aspect-ratio: 5 / 2; overflow: hidden; background: #fff; margin: 0; padding: 0; }
.ps-flow-shot img { display: block; max-width: none; margin: 0; border-radius: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.ps-flow-design .ps-flow-shot img { object-position: 70% 35%; }
.ps-flow-text { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px 20px; }
.ps-flow-n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F5C518; color: #15161C; font-weight: 800; font-size: 15px; }
.ps-flow-text h2 { margin: 2px 0 4px; font-size: 1.12rem; line-height: 1.25; color: #fff; letter-spacing: -.01em; }
.ps-flow-text p { margin: 0; font-size: .95rem; line-height: 1.45; color: rgb(255 255 255 / .66); }
@media (max-width: 760px) { .ps-flow { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; } }
.ps-from { margin: 14px 0 24px; font-size: 1rem; color: rgb(255 255 255 / .78); }
.ps-from strong { color: #fff; font-weight: 700; }
@media (max-width: 520px) { .ps-facts strong { font-size: 1.3rem; white-space: nowrap; } .ps-facts { gap: 12px 18px; } }
