/* Real controls over the decorative film, without adding another layer of copy. */
.hero-value-controls { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.hero-value-controls[hidden] { display: none !important; }
.hero-value-control { position: absolute; padding: 0; border: 0; border-radius: 24%; background: transparent; color: inherit; pointer-events: auto; cursor: pointer; touch-action: manipulation; transition: box-shadow .2s ease; }
.hero-value-control:hover { box-shadow: 0 0 0 3px rgba(255,255,255,.65); }
.hero-value-control::after { content: "↗"; position: absolute; top: -3px; right: -3px; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #14150f; border-radius: 50%; background: #fff9ec; color: #14150f; font: 800 14px/1 Arial,sans-serif; }
.hero-value-control:focus-visible { outline: 3px solid #ff2a91; outline-offset: 5px; box-shadow: 0 0 0 3px #fff9ec; }
/* Editorial cards: the same paper, illustration and typography as the page. */
html.hero-detail-open, html.hero-detail-open body { overflow: hidden; }
.hero-value-dialog {
  --detail-accent: var(--pink-ink); --scene-accent: var(--lime);
  box-sizing: border-box; width: min(880px, calc(100vw - 40px)); max-width: none;
  max-height: calc(100dvh - 40px); margin: auto; padding: 0;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid #fbf8f24d; border-radius: 24px; background: var(--paper);
  color: var(--ink); color-scheme: light; box-shadow: 0 35px 120px #0009;
  font-family: var(--f-display); text-align: left;
}
.hero-value-dialog[open] { animation: hero-detail-in .3s var(--ease-out); }
.hero-value-dialog::backdrop { background: #060609b8; backdrop-filter: blur(14px); }
.hero-value-dialog__layout { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,1fr); min-height: 480px; }
.hero-value-dialog__content { display: flex; flex-direction: column; min-width: 0; padding: 48px 36px 32px; background: radial-gradient(ellipse at 10% 0%,#fffaf0,transparent 70%); }
.hero-value-dialog__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 28px; color: #5b5650; font: 700 11px/1.4 var(--f-mono); letter-spacing: .13em; text-transform: uppercase; }
.hero-value-dialog__eyebrow .story-drop { background: var(--detail-accent); width: 10px; height: 14px; }
.hero-value-dialog h2 { margin: 0; font-size: clamp(34px,4.2vw,50px); font-weight: 900; font-variation-settings: "wdth" 108; line-height: 1.02; letter-spacing: -.045em; text-transform: uppercase; overflow-wrap: normal; }
.hero-value-dialog h2:focus { outline: none; }
.hero-value-dialog h2 > span, .hero-value-dialog h2 > em { display: block; }
.hero-value-dialog h2 > em { margin-top: 6px; color: var(--detail-accent); font-style: italic; }
.hero-value-dialog__copy { margin: 24px 0 28px; max-width: 34ch; color: #5b5650; font-size: 15px; line-height: 1.65; }
.hero-value-dialog__actions { margin-top: auto; }
.hero-value-dialog__link { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 15px 20px; border-radius: 999px; color: var(--white); background: var(--ink); font-size: 13px; line-height: 1.4; font-weight: 800; text-decoration: none; transition: background .2s, transform .2s; }
.hero-value-dialog__link svg { width: 24px; height: 24px; flex: none; color: var(--lime); transition: transform .2s; }
.hero-value-dialog__link:hover { background: var(--detail-accent); }
.hero-value-dialog__link:hover svg { transform: translateX(3px); color: #fff; }
.hero-value-dialog__secondary { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #5b5650; font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.hero-value-dialog__secondary[hidden] { display: none; }
.hero-value-dialog__chrome { position: sticky; top: 0; z-index: 6; height: 0; }
.hero-value-dialog__close { position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #0a0a0b20; border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: transform .2s, background .2s; }
.hero-value-dialog__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hero-value-dialog__close:hover { transform: rotate(90deg); background: var(--lime); }
.hero-value-dialog a:focus-visible, .hero-value-dialog__close:focus-visible { outline: 3px solid var(--pink-ink); outline-offset: 4px; }
.value-scene { position: relative; min-width: 0; min-height: 480px; overflow: hidden; isolation: isolate; background-color: #141417; background-image: linear-gradient(#ffffff07 1px,transparent 1px),linear-gradient(90deg,#ffffff07 1px,transparent 1px); background-size: 32px 32px; }
.value-scene::after { content: ""; position: absolute; z-index: -1; width: 310px; height: 310px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: var(--scene-accent); opacity: .09; filter: blur(45px); }
.value-scene__word { position: absolute; left: 50%; top: 17%; transform: translateX(-50%) rotate(-8deg); font-weight: 900; font-size: 88px; letter-spacing: -.07em; line-height: 1; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px #ffffff17; white-space: nowrap; }
.value-scene__rings { position: absolute; left: 50%; top: 49%; width: 280px; height: 280px; transform: translate(-50%,-50%); border: 1px solid #ffffff16; border-radius: 50%; box-shadow: 0 0 0 32px #ffffff04,0 0 0 64px #ffffff03; }
.value-scene__trail { position: absolute; inset: 9% 5% 14%; width: 90%; height: 77%; fill: none; stroke: var(--scene-accent); stroke-width: 2; stroke-dasharray: 4 8; opacity: .55; }
.value-scene__sticker { position: absolute; left: 50%; top: 49%; width: min(72%,260px); aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-9deg); filter: drop-shadow(2px 0 0 #fff9ed) drop-shadow(-2px 0 0 #fff9ed) drop-shadow(0 2px 0 #fff9ed) drop-shadow(0 -2px 0 #fff9ed) drop-shadow(8px 16px 0 #0004); }
.value-scene__sticker .stk * { animation: none !important; }
.hero-value-dialog[open] .value-scene__sticker { animation: detail-sticker-in .55s cubic-bezier(.2,.8,.2,1) both; }
.value-scene__note { position: absolute; z-index: 2; left: 24px; top: 35px; transform: rotate(-7deg); max-width: calc(100% - 90px); color: var(--scene-accent); font: 28px/1 var(--f-hand); }
.value-scene__result { position: absolute; z-index: 3; bottom: 28px; left: 22px; right: 22px; display: flex; align-items: center; gap: 12px; padding: 17px; border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 12px 25px #0003; transform: rotate(-3deg); }
.value-scene__result b { font-size: 13px; line-height: 1.4; font-weight: 800; }
.value-scene__result .story-drop { background: var(--detail-accent); }
.value-scene__audience { position: absolute; z-index: 2; right: 28px; bottom: 125px; display: flex; transform: rotate(7deg); }
.value-scene__audience span { display: grid; place-items: center; width: 49px; height: 49px; margin-left: -9px; border: 3px solid #141417; border-radius: 50%; background: var(--scene-accent); color: #141417; }
.value-scene__audience span:nth-child(2) { background: #ff2e88; transform: translateY(-9px); }
.value-scene__audience svg { width: 32px; height: 32px; fill: currentColor; }
.hero-value-dialog[data-value="trust"], .hero-value-dialog[data-value="growth"] { --scene-accent: #b79aff; }
.hero-value-dialog[data-value="sales"], .hero-value-dialog[data-value="interest"] { --scene-accent: #ff5d9f; }
.hero-value-dialog[data-value="reach"] .value-scene__sticker { left: 43%; top: 46%; }
.hero-value-dialog[data-value="growth"] .value-scene__trail { stroke-dasharray: none; stroke-width: 3; }
.hero-value-dialog[data-value="trust"] .value-scene__result { transform: rotate(3deg); }
@keyframes hero-detail-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes detail-sticker-in { from { opacity: 0; transform: translate(-50%,-44%) rotate(-16deg) scale(.88); } to { opacity: 1; transform: translate(-50%,-50%) rotate(-9deg) scale(1); } }
@media (max-width: 680px) {
  .hero-value-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 24px); border-radius: 20px; }
  .hero-value-dialog__layout { grid-template-columns: minmax(0,1fr); min-height: 0; }
  .hero-value-dialog__content { padding: 25px 24px 20px; }
  .hero-value-dialog__eyebrow { margin-bottom: 16px; font-size: 10px; }
  .hero-value-dialog h2 { font-size: clamp(30px,7.3vw,44px); }
  .hero-value-dialog__copy { margin: 16px 0 20px; max-width: 42ch; font-size: 14px; line-height: 1.5; }
  .value-scene { order: -1; min-height: 210px; height: 210px; }
  .value-scene__sticker { width: 158px; left: 36%; top: 52%; }
  .value-scene__rings { width: 155px; height: 155px; left: 36%; }
  .value-scene__word { font-size: 66px; top: 28%; }
  .value-scene__note { left: 18px; top: 20px; font-size: 23px; }
  .value-scene__result { left: auto; right: 16px; bottom: 22px; width: 44%; padding: 12px; gap: 7px; }
  .value-scene__result b { font-size: 11px; }
  .value-scene__result .story-drop { width: 10px; height: 14px; }
  .value-scene__audience { right: 35px; bottom: 94px; }
  .value-scene__audience span { width: 35px; height: 35px; }
  .value-scene__audience svg { width: 24px; height: 24px; }
  .hero-value-dialog[data-value="reach"] .value-scene__sticker { left: 32%; top: 54%; }
}
@media (max-width: 380px) {
  .hero-value-dialog__content { padding-inline: 20px; }
  .hero-value-dialog__link { padding-inline: 16px; font-size: 12px; gap: 8px; }
  .hero-value-dialog__close { top: 10px; right: 10px; }
  .value-scene__note { font-size: 20px; }
}
@media (max-height: 520px) and (min-width: 681px) {
  .hero-value-dialog__content { padding-top: 28px; }
  .hero-value-dialog__layout, .value-scene { min-height: 380px; }
  .hero-value-dialog h2 { font-size: 34px; }
  .hero-value-dialog__eyebrow { margin-bottom: 18px; }
  .hero-value-dialog__copy { margin-block: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-value-dialog[open], .hero-value-dialog[open] .value-scene__sticker { animation: none; }
  .hero-value-control, .hero-value-dialog a, .hero-value-dialog__close, .hero-value-dialog__link svg { transition: none; }
}
