/* 17 Nov (Shali): Horizon for Men / Women / Children as full photo cards using the backlit-hands photos (Midjourney,
   style of the client's reference; 05_Assets/Horizon cards hands - 2026-11-17). Four review designs, ?hc=1..4:
   1 Overlay  - photo fills the card, copy at the foot over a soft cream fade
   2 Stacked  - photo on top, copy below on the photo's own cream tone (seamless)
   3 Caption  - photo card with nothing on it, copy underneath like a gallery caption
   4 Reveal   - photo fills the card with the title only; the line and button rise on hover / focus (always shown on touch) */
:root { --hc-paper: #e3dccf; --hc-ink: #141414; --hc-ink2: #46433f; --hc-ink3: #7d776e; }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { display: block !important; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; z-index: 0; border-radius: inherit; }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-fig { display: none !important; }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { position: relative !important; overflow: hidden !important; background: var(--hc-paper) !important; min-height: 0 !important; isolation: isolate; }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-copy { position: relative !important; z-index: 2; }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-arrow { z-index: 3; }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-copy h3 { font-size: 34px !important; line-height: 1.05 !important; }

/* ---------- 1 Overlay ---------- */
html[lang][data-hc="1"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { aspect-ratio: 4 / 5; height: auto !important; justify-content: flex-end !important; padding: 28px !important; }
html[lang][data-hc="1"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { content: ""; position: absolute; inset: 40% 0 0 0; z-index: 1; background: linear-gradient(180deg, rgba(232, 226, 215, 0) 0%, rgba(232, 226, 215, .82) 48%, rgba(232, 226, 215, .96) 100%); pointer-events: none; }
html[lang][data-hc="1"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-copy { flex: none !important; }

/* ---------- 2 Stacked ---------- */
html[lang][data-hc="2"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { padding: calc(100% * 0.86 + 24px) 28px 28px !important; }
html[lang][data-hc="2"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { height: auto; aspect-ratio: 1 / .86; bottom: auto; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }

/* ---------- 3 Caption ---------- */
html[lang][data-hc="3"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { background: transparent !important; padding: calc(125% + 22px) 0 0 !important; overflow: visible !important; border-radius: 0 !important; }
html[lang][data-hc="3"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { height: auto; aspect-ratio: 4 / 5; bottom: auto; border-radius: var(--site-card-radius, 24px); }
html[lang][data-hc="3"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-arrow { top: calc(125% * 0 + 18px) !important; bottom: auto !important; right: 18px !important; }
html[lang][data-hc="3"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-copy h3 { font-size: 30px !important; }

/* ---------- 4 Reveal ---------- */
html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { aspect-ratio: 4 / 5; height: auto !important; justify-content: flex-end !important; padding: 28px !important; }
html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(232, 226, 215, 0) 45%, rgba(232, 226, 215, .9) 100%); opacity: .55; transition: opacity .45s ease; pointer-events: none; }
html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-copy { flex: none !important; }
html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path :is(.qx-line, .qx-cta-label) { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s ease, opacity .4s ease, margin .5s ease; margin-top: 0 !important; padding-top: 0 !important; }
@media (hover: hover) and (pointer: fine) {
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within)::after { opacity: 1; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) :is(.qx-line, .qx-cta-label) { max-height: 220px; opacity: 1; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) .qx-line { margin-top: 14px !important; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) .qx-cta-label { padding-top: 22px !important; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { transition: transform 1.2s cubic-bezier(.22, 1, .36, 1); }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path:hover .qx-hand { transform: scale(1.04); }
}
@media (hover: none), (pointer: coarse) {
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path :is(.qx-line, .qx-cta-label) { max-height: none; opacity: 1; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { #quiet-story .qx-path .qx-hand, #quiet-story .qx-path .qx-line, #quiet-story .qx-path .qx-cta-label { transition: none !important; } }
/* phones: taller card, hands placed higher, stronger cream at the foot so the copy reads clear of the hands */
@media (max-width: 767px) {
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { aspect-ratio: auto !important; min-height: 0 !important; padding: 74vw 22px 22px !important; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { height: 78vw !important; bottom: auto !important; object-position: 50% 30% !important; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { display: none !important; }
}
/* 17 Nov: chrome mannequin photos (centred figures): keep the figure's head in view */
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { object-position: 50% 20% !important; }
@media (min-width: 768px) {
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { background: linear-gradient(180deg, rgba(236, 230, 220, 0) 52%, rgba(236, 230, 220, .88) 78%, rgba(236, 230, 220, .97) 100%) !important; opacity: 1 !important; }
}
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { object-position: 50% 30% !important; }

/* 17 Nov (Shali: "on hover the text is not visible; make the image frosted glass on hover"): on hover / focus the
   photo blurs and a light frosted veil covers the whole card, so the line and button read clearly; it clears on leave */
@media (hover: hover) and (pointer: fine) {
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { transition: filter .6s ease, transform 1.2s cubic-bezier(.22, 1, .36, 1) !important; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path:is(:hover, :focus-within) .qx-hand { filter: blur(16px) saturate(.85) brightness(1.06); transform: scale(1.08); }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
    background: rgba(244, 240, 233, .5); opacity: 0; transition: opacity .5s ease;
  }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within)::before { opacity: 1; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) :is(.qx-tags, .qx-line) { color: #2a2724 !important; }
}
@media (prefers-reduced-motion: reduce) { #quiet-story .qx-path .qx-hand { transition: none !important; } }
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { object-position: 50% 18% !important; }

/* 17 Nov fix (Shali: "glitch around the card corners, normal and on hover"): the card's squircle corner shape and the
   photo's plain round corners did not match, so the card colour showed at the corners; and the hover blur on the photo
   softened its edges. Now: the card alone clips (its own shape), the photo and overlays have no corners of their own,
   the card has no colour behind the photo, and the hover frost is a backdrop blur on an overlay (edges stay crisp). */
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path {
  background: transparent !important; overflow: hidden !important; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); transform: translateZ(0);
}
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path :is(.qx-hand),
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::before,
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { border-radius: 0 !important; corner-shape: initial !important; }
@media (hover: hover) and (pointer: fine) {
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path:is(:hover, :focus-within) .qx-hand { filter: none !important; transform: scale(1.04) !important; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::before {
    background: rgba(244, 240, 233, .42) !important; -webkit-backdrop-filter: blur(18px) saturate(.9); backdrop-filter: blur(18px) saturate(.9);
  }
}
/* 17 Nov (Shali: "no need round corners"): square cards */
html[lang][data-hc] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path { border-radius: 0 !important; corner-shape: initial !important; -webkit-mask-image: none; }

/* 17 Nov (Shali: "hover animation more buttery smooth"): only transform and opacity animate (no height / margin
   changes, so no layout work per frame). The copy block sits lowered by the height of its line + button (--hc-shift,
   measured by horizon-cards-1117.js) so only tags and title show; on hover it glides up, the line and button fade
   and rise in with a slight stagger, the frost fades in and the photo eases into a slow zoom. One long easing. */
@media (hover: hover) and (pointer: fine) {
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-copy {
    transform: translate3d(0, var(--hc-shift, 0px), 0); transition: transform .9s cubic-bezier(.16, 1, .3, 1); will-change: transform;
  }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) .qx-copy { transform: translate3d(0, 0, 0); }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path :is(.qx-line, .qx-cta-label) {
    max-height: none !important; overflow: visible !important; opacity: 0; transform: translate3d(0, 14px, 0);
    transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .9s cubic-bezier(.16, 1, .3, 1) !important; will-change: opacity, transform;
  }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-line { margin-top: 14px !important; }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path .qx-cta-label { padding-top: 22px !important; }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) :is(.qx-line, .qx-cta-label) { opacity: 1; transform: translate3d(0, 0, 0); }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) .qx-line { transition-delay: .08s, .04s !important; }
  html[lang][data-hc="4"].hc-ready body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path:is(:hover, :focus-within) .qx-cta-label { transition-delay: .16s, .1s !important; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::before { transition: opacity .7s cubic-bezier(.16, 1, .3, 1) !important; will-change: opacity; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story .qx-path .qx-hand { transition: transform 1.6s cubic-bezier(.16, 1, .3, 1) !important; will-change: transform; backface-visibility: hidden; }
  html[lang][data-hc="4"] body:not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_):not(#_) #quiet-story.da .qx-path::after { transition: opacity .7s cubic-bezier(.16, 1, .3, 1) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html[lang][data-hc="4"].hc-ready body #quiet-story.da .qx-path :is(.qx-copy, .qx-line, .qx-cta-label, .qx-hand) { transition: none !important; }
}
