/* ==========================================================================
   Homepage Version 5 · Store: led by the real product photos.
   Sits on site.css + pages.css (palettes, type, buttons, product cards).
   ========================================================================== */
.page{ padding-bottom:0; }
.h5-sec{ padding-block:72px 0; }

/* ---------- Hero: copy left, a collage of real signs right ---------- */
.h5-hero{ position:relative; overflow:hidden; padding-block:56px 64px;
  background:radial-gradient(60% 70% at 85% 30%, color-mix(in srgb, #ff2fc2 22%, transparent), transparent 70%),
             radial-gradient(50% 60% at 10% 90%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%); }
.h5-hero__grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.05fr); gap:56px; align-items:center; }
.h5-hero__copy{ display:grid; gap:22px; }
.h5-h1{ margin:0; font-size:clamp(3rem, 1.6rem + 4.6vw, 5.9rem); line-height:.98; letter-spacing:-.02em; }
.h5-h1 .glow-word{ display:inline-block; font-size:1.05em; }
.h5-hero .lede{ max-width:520px; font-size:18px; }
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin:0; }

.h5-stats{ list-style:none; margin:8px 0 0; padding:20px 0 0; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(4, auto); justify-content:start; gap:12px 34px; }
.h5-stats li{ display:grid; font-size:13px; color:var(--muted); }
.h5-stats b{ font-variant-numeric:lining-nums; font-family:var(--display); font-size:2rem; line-height:1.05; color:var(--text); font-weight:600; }
.h5-hero__art{ position:relative; display:grid; grid-template-columns:1.25fr 1fr; grid-template-rows:1fr 1fr; gap:14px; height:min(620px, 72vh); min-height:440px; }
.h5-hero__a{ grid-row:1 / 3; }
.h5-hero__badge{ position:absolute; left:-22px; top:38px; z-index:2; padding:14px 18px; border-radius:18px; background:var(--accent); color:var(--accent-ink); font-weight:800; font-size:15px; line-height:1.2; box-shadow:0 18px 40px -12px rgba(0,0,0,.6); transform:rotate(-4deg); }
.h5-hero__badge small{ font-weight:600; font-size:12.5px; opacity:.8; }

/* A real photo that links to its product, with a name + price tag */
.h5-shot{ position:relative; display:block; overflow:hidden; border-radius:22px; background:var(--surface); text-decoration:none; isolation:isolate; }
.h5-shot img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.h5-shot:hover img{ transform:scale(1.04); }
.h5-tag{ position:absolute; left:12px; bottom:12px; right:12px; display:flex; justify-content:space-between; align-items:center; gap:10px; padding:9px 12px; border-radius:14px;
  background:color-mix(in srgb, #0a0710 72%, transparent); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); color:#fff; font-size:13px; font-weight:700; }
.h5-tag > :last-child{ white-space:nowrap; flex:none; }
.h5-tag b{ font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* ---------- Trust strip ---------- */
.h5-trust{ border-block:1px solid var(--line); background:var(--surface); }
.h5-trust ul{ list-style:none; margin:0 auto; padding-block:20px; display:grid; grid-template-columns:repeat(5, minmax(0, 1fr)); gap:16px; }
.h5-trust li{ display:grid; font-size:13px; color:var(--muted); padding-left:16px; border-left:2px solid var(--accent); }
.h5-trust b{ color:var(--text); font-size:15px; }

/* ---------- Collection tiles ---------- */
.h5-tiles{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); grid-auto-rows:250px; gap:16px; }
.h5-tile{ position:relative; overflow:hidden; border-radius:22px; text-decoration:none; color:#fff; background:var(--surface); }
.h5-tile--big{ grid-column:span 2; grid-row:span 2; }
.h5-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.h5-tile::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 40%, rgba(5,3,10,.88)); }
.h5-tile:hover img{ transform:scale(1.05); }
.h5-tile__txt{ position:absolute; z-index:1; left:20px; right:20px; bottom:18px; display:grid; gap:2px; }
.h5-tile__txt b{ font-family:var(--display); font-size:1.85rem; font-weight:600; line-height:1.05; }
.h5-tile--big .h5-tile__txt b{ font-size:clamp(2.2rem, 1.6rem + 2vw, 3.4rem); }
.h5-tile__txt span{ font-size:14px; color:rgba(255,255,255,.78); }
.h5-tile__txt em{ font-style:normal; font-size:13px; font-weight:700; margin-top:8px; display:inline-flex; align-items:center; gap:6px; color:var(--accent-soft); }
.h5-tile__txt em svg{ width:15px; height:15px; }

/* Product rows reuse the shop cards */
.h5-row{ grid-template-columns:repeat(4, minmax(0, 1fr)); }

/* ---------- Design teaser ---------- */
.h5-design{ margin-top:88px; padding-block:72px; background:var(--surface); border-block:1px solid var(--line); }
.h5-design__grid{ display:grid; grid-template-columns:minmax(0, 1.2fr) minmax(0, 1fr); gap:56px; align-items:center; }
.h5-design__stage{ position:relative; border-radius:26px; overflow:hidden; aspect-ratio:4 / 3; background:#050406; }
.h5-design__stage img{ width:100%; height:100%; object-fit:cover; object-position:50% 70%; filter:brightness(.8); }
/* The sign is never clipped (that boxed its glow in); the script below shrinks
   long words to fit instead. ::before is the light it throws on the wall. */
.h5-design__sign{ position:absolute; left:50%; top:31%; transform:translate(-50%, -50%); font-size:clamp(34px, 5.4vw, 76px); }
.h5-design__sign::before{ content:''; position:absolute; z-index:-1; inset:-55% -12%; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, color-mix(in srgb, var(--c,#ff2fc2) 50%, transparent), transparent); filter:blur(28px); opacity:.5; mix-blend-mode:screen; }
.h5-design__copy{ display:grid; gap:18px; }
.h5-design__copy .h2{ margin:0; }
.h5-try{ display:grid; gap:14px; }
.h5-try input[type="text"], .h5-try input:not([type]){ font:inherit; font-size:17px; color:var(--text); background:var(--bg); border:1px solid var(--line-strong); border-radius:16px; padding:14px 18px; }
.h5-try input:focus{ outline:2px solid var(--accent-soft); outline-offset:1px; }
.h5-try .btn{ justify-self:start; }
.h5-sws{ display:flex; gap:10px; flex-wrap:wrap; }
.h5-sw{ width:30px; height:30px; border-radius:50%; border:2px solid transparent; background:var(--c); box-shadow:0 0 12px -2px var(--c); cursor:pointer; }
.h5-sw[aria-pressed="true"]{ border-color:#fff; outline:2px solid var(--c); outline-offset:2px; }
.h5-steps{ list-style:none; counter-reset:s; margin:8px 0 0; padding:18px 0 0; border-top:1px solid var(--line); display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }
.h5-steps li{ counter-increment:s; display:grid; gap:2px; font-size:13px; color:var(--muted); }
.h5-steps li::before{ content:counter(s); width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--accent); color:var(--accent-ink); font-weight:800; font-size:13px; margin-bottom:6px; }
.h5-steps b{ color:var(--text); font-size:14.5px; }

/* ---------- Weddings feature: one big photo, four signs ---------- */
.h5-feature{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.25fr); gap:28px; align-items:stretch; }
.h5-feature__photo{ position:relative; overflow:hidden; border-radius:26px; min-height:520px; color:#fff; text-decoration:none; }
.h5-feature__photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.h5-feature__photo:hover img{ transform:scale(1.03); }
.h5-feature__photo::after{ content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 35%, rgba(5,3,10,.9)); }
.h5-feature__photo > span{ position:absolute; z-index:1; left:28px; right:28px; bottom:26px; display:grid; gap:8px; }
.h5-feature__photo .eyebrow{ color:rgba(255,255,255,.75); }
.h5-feature__photo b{ font-size:clamp(2rem, 1.4rem + 1.8vw, 3rem); font-weight:600; line-height:1.05; }
.h5-feature__photo em{ font-style:normal; font-weight:700; font-size:14px; display:inline-flex; gap:6px; align-items:center; color:var(--accent-soft); }
.h5-feature__photo em svg{ width:15px; height:15px; }
.h5-feature .h5-row{ grid-template-columns:repeat(2, minmax(0, 1fr)); align-content:start; }

/* ---------- Business band ---------- */
.h5-biz{ margin-top:88px; padding-block:72px; background:linear-gradient(120deg, color-mix(in srgb, #5ad8ff 14%, var(--bg)), var(--bg) 60%); border-block:1px solid var(--line); }
.h5-biz__grid{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.2fr); gap:56px; align-items:center; }
.h5-biz__copy{ display:grid; gap:18px; }
.h5-biz__copy .h2{ margin:0; }
.h5-biz__art{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
.h5-biz__art .h5-shot{ aspect-ratio:3 / 4; }
.h5-biz__art .h5-shot:nth-child(2){ transform:translateY(-24px); }

/* ---------- Gallery ---------- */
.h5-gallery{ display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); grid-auto-rows:190px; gap:12px; }
.h5-gallery .h5-shot{ border-radius:16px; }
.h5-gallery .h5-shot:nth-child(1), .h5-gallery .h5-shot:nth-child(8){ grid-column:span 2; grid-row:span 2; }

/* ---------- Why / FAQ / final CTA ---------- */
.h5-why__list{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; }
.h5-why__list li{ display:grid; gap:8px; align-content:start; padding:24px; border-radius:22px; background:var(--surface); border:1px solid var(--line); color:var(--muted); font-size:14.5px; line-height:1.6; }
.h5-why__list b{ font-family:var(--display); font-size:1.6rem; font-weight:600; line-height:1.1; color:var(--text); }
.h5-faq{ display:grid; grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); gap:56px; align-items:start; }
.h5-faq .h2{ margin:12px 0 14px; }
.h5-faq .lede a{ color:var(--accent-soft); }
/* Closing call to action: a wall of real signs drifting behind a glass panel with a lit neon sign */
.h5-cta{ position:relative; overflow:hidden; margin-top:96px; padding-block:110px; isolation:isolate; border-top:1px solid var(--line); }
.h5-cta__wall{ position:absolute; inset:-20px 0; z-index:-2; display:grid; align-content:center; gap:16px; transform:rotate(-4deg) scale(1.08); }
.h5-cta__row{ display:flex; gap:16px; width:max-content; animation:h5Drift 70s linear infinite; }
.h5-cta__row:nth-child(even){ animation-direction:reverse; animation-duration:80s; }
.h5-cta__row:nth-child(n+3){ display:none; } /* the extra rows are for phones */
.h5-cta__row img{ width:250px; height:250px; object-fit:cover; border-radius:20px; filter:saturate(1.15); }
@keyframes h5Drift{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion:reduce){ .h5-cta__row{ animation:none; } }
.h5-cta::before{ content:''; position:absolute; inset:0; z-index:-1;
  background:radial-gradient(60% 80% at 50% 50%, color-mix(in srgb, var(--bg) 30%, transparent), color-mix(in srgb, var(--bg) 78%, transparent) 80%),
             linear-gradient(180deg, var(--bg), transparent 22%, transparent 78%, var(--bg)); }
.h5-cta__inner{ display:grid; justify-items:center; }
.h5-cta__panel{ min-width:0; width:min(860px, 100%); text-align:center; display:grid; justify-items:center; gap:18px; padding:52px 48px 44px; border-radius:32px;
  background:color-mix(in srgb, #0a0710 62%, transparent); backdrop-filter:blur(16px) saturate(1.2); -webkit-backdrop-filter:blur(16px) saturate(1.2);
  border:1px solid color-mix(in srgb, #ff2fc2 38%, transparent); box-shadow:0 0 0 1px rgba(255,255,255,.04) inset, 0 30px 80px -30px rgba(0,0,0,.8), 0 0 70px -20px color-mix(in srgb, #ff2fc2 55%, transparent); }
.h5-cta__panel .eyebrow{ color:rgba(255,255,255,.7); }
.h5-cta__sign{ margin:0; max-width:100%; font-weight:400; font-size:clamp(2.3rem, 1.2rem + 6vw, 6.6rem); line-height:1.1; padding-bottom:.18em; animation:h5FlickerOn 2.4s ease-out 1 both; }
@keyframes h5FlickerOn{ 0%,12%{ opacity:.15; } 14%{ opacity:1; } 18%{ opacity:.35; } 22%,100%{ opacity:1; } }
@media (prefers-reduced-motion:reduce){ .h5-cta__sign{ animation:none; } }
.h5-cta__panel .lede{ max-width:540px; color:rgba(255,255,255,.82); }
.h5-cta .cta-row{ justify-content:center; }
.h5-cta__perks{ list-style:none; margin:10px 0 0; padding:18px 0 0; border-top:1px solid rgba(255,255,255,.1); display:flex; flex-wrap:wrap; justify-content:center; gap:10px 24px; font-size:13.5px; font-weight:600; color:rgba(255,255,255,.85); }
.h5-cta__perks li::before{ content:'✦'; color:#ff8fdc; margin-right:7px; }

/* ---------- Tablet & phone ---------- */
@media (max-width:1100px){
  .h5-trust ul{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .h5-tiles{ grid-template-columns:repeat(3, minmax(0, 1fr)); }
  .h5-row{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .h5-why__list{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .h5-gallery{ grid-template-columns:repeat(4, minmax(0, 1fr)); }
}
@media (max-width:900px){
  .h5-hero__grid, .h5-design__grid, .h5-feature, .h5-biz__grid, .h5-faq{ grid-template-columns:1fr; gap:32px; }
  .h5-hero__art{ height:auto; min-height:0; aspect-ratio:1 / 1; }
  .h5-hero__badge{ left:12px; top:-14px; }
  .h5-feature__photo{ min-height:380px; }
  .h5-feature .h5-row{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:760px){
  .h5-sec{ padding-top:52px; }
  .h5-hero{ padding-block:32px 48px; }
    .h5-hero .cta-row .btn{ flex:1 1 100%; }
  .h5-trust ul{ grid-template-columns:1fr 1fr; }
  .h5-tiles{ grid-template-columns:1fr 1fr; grid-auto-rows:180px; gap:10px; }
  .h5-tile__txt{ left:14px; right:14px; bottom:12px; }
  .h5-tile__txt b{ font-size:1.35rem; }
  .h5-tile__txt span{ display:none; }
  .h5-row{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .h5-design, .h5-biz{ margin-top:56px; padding-block:48px; }
  .h5-steps{ grid-template-columns:1fr; }
  .h5-biz__art .h5-shot:nth-child(2){ transform:none; }
  .h5-gallery{ grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-rows:110px; gap:8px; }
  .h5-gallery .h5-shot:nth-child(8){ grid-column:auto; grid-row:auto; }
  .h5-why__list{ grid-template-columns:1fr; }
  .h5-cta{ margin-top:56px; padding-block:64px; }
  .h5-cta__row img{ width:150px; height:150px; border-radius:14px; }
  .h5-cta__panel{ padding:36px 20px 30px; border-radius:24px; }
  .h5-cta .cta-row .btn{ flex:1 1 100%; }
  .h5-tag{ font-size:11.5px; padding:6px 9px; left:8px; right:auto; bottom:8px; }
  .h5-tag b{ display:none; } /* too narrow for the name: price only */
}

/* Small phones: shorter promise strip and steps (headlines only), tighter panels */
@media (max-width:480px){
  .h5-trust ul{ grid-template-columns:1fr 1fr; gap:10px 12px; padding-block:16px; }
  .h5-trust li{ font-size:0; padding-left:10px; } /* headline only */
  .h5-trust b{ font-size:13.5px; line-height:1.3; }
  .h5-hero__badge{ font-size:13px; padding:10px 13px; }
  .h5-cta__panel{ padding:30px 16px 26px; }
  .h5-cta__perks{ gap:6px 14px; font-size:12.5px; }
  .h5-tile__txt b{ font-size:1.2rem; }
  .h5-tile__txt em{ font-size:12px; }
}

/* Hero on phones: a compact headline, two buttons side by side, then the lit signs */
@media (max-width:760px){
  .h5-hero{ padding-block:16px 36px; }
  .h5-stats{ display:none; } /* desktop only */
  .h5-trust li:nth-child(3){ display:none; } /* Remote & dimmer: desktop only, leaves a 2 × 2 grid */
  /* Design teaser: tighter copy, no steps strip */
  .h5-design{ margin-top:44px; padding-block:32px; }
  .h5-design__grid{ gap:18px; }
  .h5-design__copy{ gap:12px; }
  .h5-design .lede{ font-size:15px; line-height:1.55; }
  .h5-try{ gap:10px; }
  .h5-sw{ width:26px; height:26px; }
  .h5-steps{ display:none; }
  .h5-hero__grid{ gap:22px; }
  .h5-hero__art{ aspect-ratio:5 / 4; gap:8px; }
  .h5-hero__art .h5-shot{ border-radius:16px; }
  .h5-hero__badge{ left:10px; top:10px; transform:rotate(-3deg); font-size:12.5px; padding:8px 12px; border-radius:12px; }
  .h5-hero__badge small{ font-size:11px; }
  .h5-hero__copy{ gap:14px; }
  .h5-hero .eyebrow{ font-size:10.5px; }
  .h5-h1{ font-size:clamp(2.3rem, 1.2rem + 6vw, 3.4rem); }
  .h5-hero .lede{ font-size:15.5px; line-height:1.55; }
  .h5-hero .cta-row{ flex-wrap:nowrap; gap:10px; }
  .h5-hero .cta-row .btn{ flex:1 1 0; min-width:0; justify-content:center; padding:13px 10px; font-size:14px; white-space:nowrap; }
  .h5-hero .cta-row .btn svg{ display:none; }
}
@media (max-width:400px){
  .h5-hero{ padding-top:12px; }
  .h5-hero__grid{ gap:16px; }
  .h5-hero__art{ aspect-ratio:16 / 11; }
  .h5-hero .eyebrow{ display:none; } /* the headline says it */
  .h5-h1{ font-size:2.15rem; }
  .h5-hero .lede{ font-size:14.5px; }
}
@media (max-width:360px){
  .h5-hero .cta-row .btn{ font-size:13px; padding-inline:8px; }
}

/* Closing call to action on phones: the photo wall fills the whole section, with
   rows showing above and below the panel, and the panel lets more of it through */
@media (max-width:760px){
  .h5-cta{ padding-block:180px; }
  .h5-cta__wall{ inset:18px -60px; align-content:space-between; gap:12px; transform:rotate(-3deg); }
  .h5-cta__row:nth-child(n+3){ display:flex; }
  .h5-cta__row img{ width:140px; height:140px; }
  .h5-cta::before{ background:radial-gradient(80% 50% at 50% 50%, color-mix(in srgb, var(--bg) 45%, transparent), color-mix(in srgb, var(--bg) 20%, transparent) 90%),
                              linear-gradient(180deg, var(--bg), transparent 3%, transparent 97%, var(--bg)); }
  .h5-cta__panel{ background:color-mix(in srgb, #0a0710 55%, transparent); backdrop-filter:blur(10px) saturate(1.2); -webkit-backdrop-filter:blur(10px) saturate(1.2); }
}
