/* Horizon Assessment cards (2 Nov, Shali: "bigger, cleaner, more top notch, without missing Chaitanya's info").
   Third stage of the quiet story. Content: his three facts, Male / Female Horizon (with the descriptions from his Diagnostics
   page) + "Explore the assessment", founding offer + register. Three layouts to compare via ?qc=a|b|c (c = default).
   Cards: one warm Starlight fill, no strokes or shadows, large display type, the real portrait figures. */
.quiet-points .quiet-points-inner { width: min(1200px, 100%); }
.qx { display: grid; gap: 14px; text-align: left; color: var(--void); }
.qx-card { position: relative; overflow: hidden; border-radius: 26px; padding: 30px;
  background: radial-gradient(90% 70% at 70% 20%, rgba(231, 192, 137, .22), rgba(231, 192, 137, 0) 70%), linear-gradient(155deg, #f5f1e9 0%, #ebe3d5 60%, #e3d7c3 100%);
  transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.qx-card:hover { transform: translateY(-3px); }
.qx-card h3 { margin: 0; font: 300 clamp(28px, 2.6vw, 40px)/1.05 var(--f-display); letter-spacing: -.04em; color: var(--void); }
.qx-card p { margin: 0; }
.qx-copy p { margin-top: 10px; max-width: 24em; font: 400 15px/1.55 var(--f-text); color: rgba(14, 14, 15, .66); }
.qx-link { display: inline-flex; gap: 6px; margin-top: 16px; font: 500 14px/1.2 var(--f-text); color: var(--void); text-decoration: underline;
  text-decoration-color: rgba(14, 14, 15, .25); text-underline-offset: 5px; transition: text-decoration-color .3s ease; }
.qx-link:hover { text-decoration-color: var(--void); }
.qx-link span { color: #8a6a3f; }
.qx-fig { position: absolute; margin: 0; pointer-events: none; }
.qx-fig img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.qx-fig::after { content: ""; position: absolute; left: 25%; right: 25%; bottom: 0; height: 5%; background: radial-gradient(ellipse, rgba(120, 92, 47, .16), transparent 70%); filter: blur(4px); }

/* facts */
.qx-facts { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qx-fact { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
.qx-ic { grid-row: 1 / 3; width: 40px; height: 40px; color: var(--gold); }
.qx-fact dt { font: 300 clamp(30px, 2.8vw, 44px)/1.05 var(--f-display); letter-spacing: -.04em; }
.qx-fact dd { margin: 4px 0 0; font: 400 14px/1.4 var(--f-text); }

/* offer */
.qx-offer { display: flex; flex-direction: column; }
.qx-ol { font: 400 14px/1.4 var(--f-text); color: rgba(14, 14, 15, .6); }
.qx-price { display: flex; align-items: baseline; gap: 14px; margin-top: 8px !important; }
.qx-price s { font: 400 18px/1 var(--f-text); color: rgba(14, 14, 15, .42); }
.qx-price strong { font: 300 clamp(52px, 5vw, 76px)/1 var(--f-display); letter-spacing: -.045em; color: var(--void); }
.qx-cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px; border: 0; border-radius: 16px;
  background: var(--void); color: var(--star); font: 500 15px/1 var(--f-text); cursor: pointer; transition: background-color .3s ease; }
.qx-cta:hover { background: #2a2a2b; }
.qx-cta .pki { width: 18px; height: 18px; }

/* C (default): facts as an open row on the dark ground, then three tall cards: Male, Female, offer */
html[data-qc="c"] .qx { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "facts facts facts" "male female offer"; row-gap: 30px; }
html[data-qc="c"] .qx-facts { grid-area: facts; padding: 0 6px 26px; border-bottom: 1px solid rgba(233, 228, 218, .14); color: var(--star); }
html[data-qc="c"] .qx-fact dd { color: rgba(233, 228, 218, .62); }
html[data-qc="c"] .qx-male { grid-area: male; } html[data-qc="c"] .qx-female { grid-area: female; } html[data-qc="c"] .qx-offer { grid-area: offer; }
html[data-qc="c"] .qx-card { height: clamp(320px, 40vh, 380px); }
html[data-qc="c"] .qx-path .qx-fig { right: -4%; top: 6%; bottom: 0; width: 46%; }
html[data-qc="c"] .qx-path .qx-copy { position: absolute; left: 30px; bottom: 28px; width: 64%; }
html[data-qc="c"] .qx-path h3 { font-size: clamp(26px, 2.2vw, 34px); white-space: nowrap; }

/* B (bento): Male and Female as tall portraits, the offer and the facts stacked on the right */
html[data-qc="b"] .qx { grid-template-columns: 1fr 1fr 1.05fr; grid-template-areas: "male female offer" "male female facts"; }
html[data-qc="b"] .qx-male { grid-area: male; } html[data-qc="b"] .qx-female { grid-area: female; } html[data-qc="b"] .qx-offer { grid-area: offer; }
html[data-qc="b"] .qx-facts { grid-area: facts; grid-template-columns: 1fr; gap: 14px; padding: 26px 30px; border-radius: 26px; background: linear-gradient(155deg, #f5f1e9 0%, #ebe3d5 60%, #e3d7c3 100%); }
html[data-qc="b"] .qx-fact { column-gap: 14px; } html[data-qc="b"] .qx-ic { width: 30px; height: 30px; color: #8a6a3f; }
html[data-qc="b"] .qx-fact dt { font-size: 26px; } html[data-qc="b"] .qx-fact dd { color: rgba(14, 14, 15, .6); margin-top: 2px; font-size: 13px; }
html[data-qc="b"] .qx-path { height: clamp(460px, 62vh, 560px); }
html[data-qc="b"] .qx-path .qx-fig { left: 10%; right: 10%; top: 4%; height: 58%; }
html[data-qc="b"] .qx-path .qx-copy { position: absolute; left: 30px; right: 30px; bottom: 28px; }
html[data-qc="b"] .qx-offer .qx-price strong { font-size: clamp(48px, 4.2vw, 64px); }

/* A (summary bar): two wide portrait cards, then one bar with the facts and the offer */
html[data-qc="a"] .qx { grid-template-columns: repeat(6, minmax(0, 1fr)); }
html[data-qc="a"] .qx-male { grid-column: 1 / 4; grid-row: 1; } html[data-qc="a"] .qx-female { grid-column: 4 / 7; grid-row: 1; }
html[data-qc="a"] .qx-facts { grid-column: 1 / 5; grid-row: 2; align-items: center; padding: 26px 30px; border-radius: 26px; background: linear-gradient(155deg, #f5f1e9 0%, #ebe3d5 60%, #e3d7c3 100%); }
html[data-qc="a"] .qx-fact dd { color: rgba(14, 14, 15, .6); } html[data-qc="a"] .qx-ic { color: #8a6a3f; width: 32px; height: 32px; }
html[data-qc="a"] .qx-fact dt { font-size: clamp(24px, 2.2vw, 32px); }
html[data-qc="a"] .qx-offer { grid-column: 5 / 7; grid-row: 2; }
html[data-qc="a"] .qx-offer .qx-price strong { font-size: clamp(40px, 3.4vw, 52px); }
html[data-qc="a"] .qx-offer .qx-cta { margin-top: 14px; height: 48px; }
html[data-qc="a"] .qx-path { height: clamp(300px, 38vh, 360px); }
html[data-qc="a"] .qx-path .qx-fig { right: 4%; top: 6%; bottom: 0; width: 38%; }
html[data-qc="a"] .qx-path .qx-copy { position: absolute; left: 30px; bottom: 28px; width: 56%; }

/* Phone (all layouts): facts as a compact row on the dark ground, Male / Female side by side, offer full width */
@media (max-width: 759px) {
  html[data-qc] .qx { grid-template-columns: 1fr 1fr; grid-template-areas: "facts facts" "male female" "offer offer"; gap: 10px; }
  html[data-qc] .qx-facts { grid-area: facts; padding: 0 0 14px; border-radius: 0; background: none; border-bottom: 1px solid rgba(233, 228, 218, .14); color: var(--star); grid-template-columns: repeat(3, 1fr); gap: 8px; }
  html[data-qc] .qx-fact { grid-template-columns: 1fr; row-gap: 6px; }
  html[data-qc] .qx-ic { grid-row: auto; width: 26px; height: 26px; color: var(--gold); }
  html[data-qc] .qx-fact dt { font-size: 20px; } html[data-qc] .qx-fact dd { font-size: 11.5px; color: rgba(233, 228, 218, .62); margin: 0; }
  html[data-qc] .qx-male { grid-area: male; } html[data-qc] .qx-female { grid-area: female; }
  html[data-qc] .qx-offer { grid-area: offer; display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 18px; }
  html[data-qc] .qx-card { border-radius: 20px; }
  html[data-qc] .qx-path { height: 270px; padding: 14px; }
  html[data-qc] .qx-path .qx-fig { left: 18%; right: 18%; top: 4%; height: 46%; width: auto; bottom: auto; }
  html[data-qc] .qx-path .qx-copy { position: absolute; left: 14px; right: 14px; bottom: 14px; width: auto; }
  html[data-qc] .qx-card h3 { font-size: 21px; }
  html[data-qc] .qx-copy p { font-size: 11.5px; line-height: 1.45; margin-top: 6px; }
  html[data-qc] .qx-link { margin-top: 8px; font-size: 12px; }
  html[data-qc] .qx-price strong { font-size: 40px !important; } html[data-qc] .qx-price s { font-size: 14px; }
  html[data-qc] .qx-offer .qx-cta { grid-column: 1 / -1; margin-top: 12px; height: 48px; width: 100%; }
  html[data-qc] .qx-offer { height: auto !important; grid-template-columns: 1fr; }
  html[data-qc] .qx-offer .qx-price { margin-top: 2px !important; }
  .quiet-points .quiet-points-heading { margin-bottom: 14px !important; }
}
@media (prefers-reduced-motion: reduce) { .qx-card, .qx-card:hover { transition: none; transform: none; } }

/* 2 Nov (Shali): Male / Female cards back in the morning's portrait-card style (horizon-portrait-cards.css: warm gradient,
   fine light edge, soft shadow, 28 px radius, figure filling the top, copy at the foot), keeping today's copy. */
html[data-qc] .qx-path { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .64);
  background: radial-gradient(ellipse at 50% 34%, rgba(231, 192, 137, .19), transparent 64%), linear-gradient(150deg, #f9f6ef 0%, #eee8dc 56%, #e4dac7 100%);
  box-shadow: 0 16px 44px rgba(88, 66, 35, .045), inset 0 1px 0 rgba(255, 255, 255, .6); }
html[data-qc] .qx-female { background: radial-gradient(ellipse at 50% 32%, rgba(231, 192, 137, .17), transparent 64%), linear-gradient(160deg, #f8f4eb 0%, #ede5d8 58%, #e2d5be 100%); }
html[data-qc] .qx-path .qx-fig { position: relative; inset: auto; left: auto; right: auto; top: auto; bottom: auto; order: -1; flex: 1 1 0; min-height: 0; width: 100%; height: auto; }
html[data-qc] .qx-path .qx-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
html[data-qc] .qx-path .qx-fig::after { left: 28%; right: auto; width: 44%; bottom: 1%; height: 4%; background: radial-gradient(ellipse, rgba(120, 92, 47, .13), transparent 68%); }
html[data-qc] .qx-path .qx-copy { position: static; width: 100%; flex: none; }
html[data-qc] .qx-path h3 { font: 350 clamp(28px, 2.25vw, 36px)/1.12 var(--f-display); letter-spacing: -.035em; white-space: normal; }
html[data-qc] .qx-path .qx-copy p { margin-top: 12px; font: 400 15px/1.6 var(--f-text); color: rgba(14, 14, 15, .61); letter-spacing: -.01em; }
@media (max-width: 759px) {
  html[data-qc] .qx-path { padding: 14px; gap: 10px; border-radius: 22px; }
  html[data-qc] .qx-path h3 { font-size: 20px; }
  html[data-qc] .qx-path .qx-copy p { margin-top: 6px; font-size: 11.5px; line-height: 1.45; }
}
/* 2 Nov (Shali: "scale the image, not the card"): card keeps its height; the figure is drawn large behind the copy, from
   the head down, and the card's own gradient fades it out under the text. */
html[data-qc] .qx-path { position: relative; justify-content: flex-end; }
html[data-qc] .qx-path .qx-fig { position: absolute !important; inset: 0 !important; width: auto !important; height: auto !important; flex: none; z-index: 0; overflow: hidden; border-radius: inherit; }
html[data-qc] .qx-path .qx-fig img { inset: 0; width: 100%; height: 100%; top: 0; object-fit: contain; object-position: 50% 0%;
  transform: scale(1.5) !important; transform-origin: 50% 2% !important; }
html[data-qc] .qx-path .qx-fig::after { display: none; }
html[data-qc] .qx-path::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; z-index: 1; pointer-events: none; border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(232, 223, 207, 0) 0%, rgba(232, 223, 207, .86) 45%, #e6dccb 100%); }
html[data-qc] .qx-female::after { background: linear-gradient(180deg, rgba(229, 219, 202, 0) 0%, rgba(229, 219, 202, .86) 45%, #e4d8c4 100%); }
html[data-qc] .qx-path .qx-copy { position: relative; z-index: 2; }
@media (max-width: 759px) {
  html[data-qc] .qx-path .qx-fig img { transform: scale(1.45) !important; transform-origin: 50% 4% !important; }
  html[data-qc] .qx-path::after { height: 62%; border-radius: 0 0 22px 22px; }
}
