/* Magától összeálló tábla; JavaScript nélkül a teljes jelenet látható. */
.idea-story {
  --sketch: 0; --surface: 1; --assembly-out: 0; --assembly: 1; --ink: 1;
  --drawing: 0; --bars: 1; --note: 1; --magnet-one: 1; --magnet-two: 1;
  --checklist: 1; --checks: 0; --pen: 0; --finish: 1; --progress: 1;
  --board-turn: 0deg; --board-tilt: 0deg; --scene-opacity: 1; --ink-first: 1; --ink-second: 1;
  position: relative; padding-block: clamp(54px, 7vw, 96px);
  background: radial-gradient(ellipse at 75% 45%, #164478 0, transparent 58%), #081d3c;
  color: #fff; isolation: isolate;
}
.idea-story::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: radial-gradient(#a9c7ef 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent, #000); }
.idea-story__layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.35fr); gap: clamp(24px, 4vw, 54px); align-items: center; }
.idea-story__copy { position: relative; z-index: 2; min-width: 0; }
.idea-story h2 { font-size: clamp(2.5rem, 4.6vw, 4.35rem); color: #fff; line-height: 1.05; letter-spacing: -.045em; }
.idea-story__word { color: #ffad4e; display: inline-block; position: relative; padding-bottom: .12em; }
.idea-story__word svg { position: absolute; left: 0; bottom: -.03em; width: 100%; height: .24em; fill: none; stroke: #f28c1e; stroke-width: 3; stroke-linecap: round; }
.idea-story__lead { margin-top: 22px; max-width: 33ch; color: #c1d5ef; font-size: clamp(.95rem, 1.2vw, 1.06rem); }
.idea-story__chapters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 26px; }
.idea-story__chapters li { padding-top: 11px; border-top: 2px solid #89afdd44; color: #b3c9e7; font-size: .78rem; transition: color .4s, border-color .4s; }
.idea-story__chapters li > span { display: block; margin-bottom: 4px; color: #8daed6; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.idea-story__chapters .is-current { color: #fff; border-color: #f28c1e; }
.idea-story__chapters .is-current > span { color: #ffb353; }
.idea-story__cta { margin-top: 24px; font-size: .9rem; padding-inline: 20px; }
.idea-story__chapters + .idea-story__cta { margin-top: 0; }
.idea-story__visual { min-width: 0; }
.idea-stage { position: relative; aspect-ratio: 1.32; perspective: 1100px; }
.idea-board { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; opacity: var(--scene-opacity); transform: rotateX(var(--board-tilt)) rotateY(var(--board-turn)); }
.idea-stage__orbit { position: absolute; border: 1px solid #88baff22; border-radius: 50%; pointer-events: none; }
.idea-stage__orbit--one { inset: 10% 2% 12%; transform: rotate(-17deg); }
.idea-stage__orbit--two { inset: 4% 10% 5%; transform: rotate(20deg); }
.idea-stage__spark { position: absolute; font-size: 30px; color: #ffb353; opacity: calc(var(--finish) * var(--scene-opacity)); transform: scale(var(--finish)); }
.idea-stage__spark--one { top: 6%; right: 12%; }
.idea-stage__spark--two { bottom: 16%; left: 4%; font-size: 20px; }
.idea-board__sketch { stroke: #ffad4e; stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: var(--sketch); opacity: calc(1 - var(--surface) * .75); }
.idea-board__surface { opacity: var(--surface); transform: translateY(calc(24px * var(--assembly-out))); }
.idea-board__shadow { opacity: calc(var(--assembly) * .4); transform-origin: center; transform: scaleX(calc(.7 + var(--assembly) * .3)); }
.idea-board__frame-piece { opacity: var(--assembly); transform: translate(calc(var(--piece-x) * var(--assembly-out)), calc(var(--piece-y) * var(--assembly-out))); }
.idea-board__tray { opacity: var(--assembly); transform: translateY(calc(60px * var(--assembly-out))); }
.idea-board__ink-clip { width: calc(340px * var(--ink)); }
.idea-board__ink-clip--first { width: calc(340px * var(--ink-first)); }
.idea-board__ink-clip--second { width: calc(340px * var(--ink-second)); }
.idea-board__hand { font: 700 64px var(--f-hand); fill: #0b2d63; }
.idea-board__hand--orange { fill: #d36a08; }
.idea-board__note-text { font: 700 32px var(--f-hand); fill: #0b2d63; }
.idea-board__label { font: 800 15px var(--f-body); letter-spacing: 3px; fill: #56769e; }
.idea-board__drawing { stroke-dasharray: 1; stroke-dashoffset: var(--drawing); }
.idea-board__bars { transform: scaleY(var(--bars)); transform-origin: 300px 450px; }
.idea-board__note { opacity: var(--note); transform: translate(calc(50px * (1 - var(--note))), calc(-50px * (1 - var(--note)))) rotate(calc(14deg * (1 - var(--note)))); transform-origin: 600px 210px; }
.idea-board__magnet--one { opacity: var(--magnet-one); transform: translateY(calc(-60px * (1 - var(--magnet-one)))); }
.idea-board__magnet--two { opacity: var(--magnet-two); transform: translate(calc(45px * (1 - var(--magnet-two))), calc(30px * (1 - var(--magnet-two)))); }
.idea-board__checklist { opacity: var(--checklist); transform: translateY(calc(25px * (1 - var(--checklist)))); }
.idea-board__checks path { stroke-dasharray: 1; stroke-dashoffset: var(--checks); }
.idea-board__pen { opacity: var(--pen); }
.idea-stage__tag { position: absolute; padding: 10px 16px; max-width: 92%; border-radius: 8px; box-shadow: 0 10px 30px #020d2433; white-space: nowrap; }
.idea-stage__tag--one { top: 1%; left: 4%; font: 700 clamp(1rem, 2vw, 1.5rem) var(--f-hand); color: #0b2d63; background: #e8f0fe; transform: rotate(-5deg) translateY(calc(-15px * (1 - var(--assembly)))); opacity: calc(var(--assembly) * var(--scene-opacity)); }
.idea-stage__tag--two { bottom: 5%; right: 0; display: inline-flex; align-items: center; gap: 8px; color: #0b2d63; background: #ffb353; font-size: clamp(.7rem, 1.1vw, .88rem); font-weight: 800; transform: rotate(3deg) translateY(calc(20px * (1 - var(--finish)))); opacity: calc(var(--finish) * var(--scene-opacity)); }
.idea-stage__tag--two svg { width: 17px; height: 17px; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.idea-story__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.idea-story__hint { color: #bbd1ed; font-size: .74rem; line-height: 1.5; }
.idea-story__progress { display: block; height: 3px; flex: 1 0 70px; max-width: 130px; margin-left: auto; background: #ffffff24; border-radius: 8px; overflow: hidden; }
.idea-story__progress i { display: block; width: 100%; height: 100%; background: #ffb353; transform: scaleX(var(--progress)); transform-origin: left; }
.idea-story__pause { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 7px 11px; border: 1px solid #6e91ba; border-radius: 999px; background: #082346; color: #d3e3f7; font-size: .7rem; }
.idea-story__pause svg { width: 13px; height: 13px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.idea-story__pause:hover { color: #fff; border-color: #ffb353; }
.idea-story__pause .idea-play-icon, .idea-story__pause[aria-pressed="true"] .idea-pause-icon { display: none; }
.idea-story__pause[aria-pressed="true"] .idea-play-icon { display: block; }
.is-idea-ready .idea-stage__orbit--one { animation: idea-orbit-one 16s ease-in-out infinite alternate paused; }
.is-idea-ready .idea-stage__orbit--two { animation: idea-orbit-two 23s ease-in-out infinite alternate paused; }
.is-idea-playing .idea-stage__orbit { animation-play-state: running; }
@keyframes idea-orbit-one { from { transform: rotate(-17deg) scale(.96); } to { transform: rotate(3deg) scale(1.04); } }
@keyframes idea-orbit-two { from { transform: rotate(20deg); } to { transform: rotate(-5deg); } }
@media (max-width: 1023px) {
  .idea-story__layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 16px; }
  .idea-story h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
  .idea-story__cta { font-size: .82rem; padding-inline: 15px; }
}
@media (max-width: 767px) {
  .idea-story__layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .idea-story__copy { text-align: center; }
  .idea-story h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
  .idea-story h2 br { display: none; }
  .idea-story__lead { margin: 12px auto 0; max-width: 39ch; font-size: .88rem; }
  .idea-story__chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-block: 18px; }
  .idea-story__chapters li { padding-top: 8px; font-size: .68rem; line-height: 1.4; text-align: center; }
  .idea-story__chapters li > span { font-size: .6rem; }
  .idea-story__cta { min-height: 44px; font-size: .8rem; }
  .idea-story .eyebrow { margin-bottom: 10px; font-size: .64rem; letter-spacing: .13em; }
  .idea-story__visual { max-width: 510px; width: 100%; margin-inline: auto; }
  .idea-stage { aspect-ratio: 1.48; }
  .idea-stage__tag--one { left: 3%; padding: 6px 10px; font-size: 1rem; }
  .idea-stage__tag--two { padding: 7px 10px; font-size: clamp(.58rem, 2.2vw, .75rem); bottom: 1%; }
  .idea-story__footer { display: grid; grid-template-columns: 1fr auto; margin-top: 14px; gap: 10px 12px; }
  .idea-story__hint { font-size: .66rem; }
  .idea-story__progress { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin-left: 0; }
  .idea-story__pause { min-height: 44px; }
}
@media (max-height: 699px) {
  .idea-story { padding-block: 50px; }
  .idea-story__visual { max-width: 620px; }
}
@media (prefers-reduced-motion: reduce) {
  .idea-board { transform: none; }
  .idea-stage__orbit { animation: none !important; }
}
