:root {
  --ink: #f6f1ff;
  --muted: #aaa3b6;
  --panel: rgba(11, 9, 17, .68);
  --panel-solid: #100d17;
  --line: rgba(255,255,255,.12);
  --violet: #9a5cff;
  --pink: #ff4fbb;
  --lime: #bfff55;
  --amber: #ffb44c;
  --cyan: #61e9e1;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: #08070d;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4,3,8,.2) 0%, #08070d 74%),
    linear-gradient(90deg, rgba(6,5,10,.48), transparent 35%, transparent 65%, rgba(6,5,10,.42)),
    url("assets/studio-backdrop.png") center top / cover no-repeat;
}
.ambient-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.76; filter:saturate(.95) contrast(1.05); }
.ambient::after { content:""; position:absolute; inset:0; background:radial-gradient(circle at 50% 30%, transparent, rgba(4,3,8,.1) 35%, rgba(4,3,8,.72)); }
.noise { position:absolute; inset:0; opacity:.035; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.aurora { position:absolute; width:48vw; height:48vw; border-radius:50%; filter:blur(110px); opacity:.1; animation:drift 14s ease-in-out infinite alternate; }
.aurora-one { background:var(--violet); top:-28vw; left:25vw; }
.aurora-two { background:var(--pink); top:25vh; right:-32vw; animation-delay:-7s; }
.particle-field { position:absolute; inset:0; }
.particle { position:absolute; display:block; border-radius:50%; background:currentColor; box-shadow:0 0 8px currentColor; animation:particleFloat var(--duration) ease-in-out infinite alternate; opacity:var(--opacity); }

.site-header {
  width:min(1500px, calc(100% - 56px));
  height:96px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand { display:flex; align-items:center; gap:12px; color:var(--ink); text-decoration:none; font-weight:760; letter-spacing:-.045em; font-size:22px; }
.brand span:last-child { display:flex; align-items:baseline; flex-wrap:wrap; }
.brand small { width:100%; font-size:9px; letter-spacing:.28em; text-transform:uppercase; color:var(--muted); line-height:1; }
.brand em { margin-left:7px; color:var(--pink); font-family:var(--serif); font-weight:400; }
.brand-mark { width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(154,92,255,.5); border-radius:50%; color:var(--lime); box-shadow:inset 0 0 20px rgba(154,92,255,.25), 0 0 18px rgba(154,92,255,.18); }
.manifesto { margin:0; color:#d8b9ff; text-transform:uppercase; letter-spacing:.23em; font-size:11px; font-weight:700; }
.header-actions { display:flex; align-items:center; justify-content:flex-end; gap:8px; }
.text-button, .tiny-button, .icon-button { border:0; background:transparent; cursor:pointer; }
.text-button { display:flex; align-items:center; gap:7px; padding:10px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.text-button span { color:var(--violet); font-size:18px; }
.text-button b, .icon-button b { font-size:10px; font-weight:600; }
.text-button i { display:grid; place-items:center; width:17px; height:17px; border-radius:50%; background:var(--pink); color:#120917; font-size:9px; font-style:normal; }
.language-switch { display:flex; border:1px solid var(--line); border-radius:999px; padding:3px; background:rgba(8,6,12,.7); }
.lang { border:0; min-width:42px; padding:8px 10px; border-radius:999px; background:transparent; cursor:pointer; color:var(--muted); font-size:11px; font-weight:800; }
.lang.active { background:linear-gradient(135deg, #7141e3, #9e4dff); color:white; box-shadow:0 0 18px rgba(154,92,255,.45); }

main { width:min(1500px, calc(100% - 56px)); margin:0 auto; }
.experience { display:grid; grid-template-columns:320px minmax(400px, 1fr) 300px; gap:32px; min-height:760px; align-items:center; padding:42px 0 34px; }
.glass-panel { background:linear-gradient(145deg, rgba(20,17,29,.75), rgba(8,7,12,.62)); border:1px solid var(--line); box-shadow:0 24px 70px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.04); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.selector-panel { border-radius:24px; padding:20px; }
.panel-heading { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:16px; }
.eyebrow { margin:0 0 7px; color:var(--lime); text-transform:uppercase; letter-spacing:.2em; font-size:9px; font-weight:800; }
.panel-heading h1 { margin:0; font-family:var(--serif); font-size:23px; line-height:1.05; font-weight:400; }
.tiny-button { color:#cdb8ec; border-bottom:1px solid rgba(205,184,236,.4); padding:3px 0; font-size:9px; text-transform:uppercase; letter-spacing:.1em; white-space:nowrap; }
.option-list { display:grid; gap:8px; }
.option-card { position:relative; min-height:63px; display:grid; grid-template-columns:42px 1fr 34px; align-items:center; gap:11px; padding:8px 8px 8px 10px; border:1px solid rgba(255,255,255,.09); border-radius:14px; background:rgba(255,255,255,.025); cursor:pointer; transition:.25s ease; }
.option-card:hover { transform:translateX(3px); background:rgba(255,255,255,.05); }
.option-card:has(input:checked) { border-color:rgba(154,92,255,.45); background:linear-gradient(90deg, rgba(154,92,255,.11), rgba(255,255,255,.025)); box-shadow:inset 3px 0 var(--violet); }
.option-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:11px; color:var(--icon-color); background:color-mix(in srgb, var(--icon-color) 12%, transparent); border:1px solid color-mix(in srgb, var(--icon-color) 26%, transparent); font-size:20px; text-shadow:0 0 10px currentColor; }
.option-copy strong { display:block; margin-bottom:3px; text-transform:uppercase; letter-spacing:.07em; font-size:10px; }
.option-copy small { display:block; color:var(--muted); font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.check-ui { width:24px; height:24px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.18); border-radius:50%; color:transparent; transition:.25s; }
.option-card input { position:absolute; opacity:0; pointer-events:none; }
.option-card input:checked ~ .check-ui { color:white; border-color:transparent; background:linear-gradient(135deg, var(--pink), var(--violet)); box-shadow:0 0 16px rgba(154,92,255,.42); }

.spark-stage { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; min-width:0; }
.stage-kicker { display:flex; width:min(440px, 80%); align-items:center; gap:15px; color:#d4c2e8; text-transform:uppercase; letter-spacing:.22em; font-size:9px; }
.stage-kicker span { height:1px; flex:1; background:linear-gradient(90deg, transparent, rgba(191,255,85,.55)); }
.stage-kicker span:last-child { transform:scaleX(-1); }
.orb { position:relative; width:clamp(350px, 36vw, 530px); aspect-ratio:1; margin:-4px 0 -28px; display:grid; place-items:center; filter:drop-shadow(0 35px 35px rgba(0,0,0,.55)); }
.orb-shell { position:relative; width:72%; height:72%; border-radius:50%; overflow:hidden; background:
  radial-gradient(circle at 42% 38%, rgba(255,255,255,.32) 0 1%, transparent 4%),
  radial-gradient(circle at 50% 46%, rgba(126,52,185,.5), rgba(31,7,48,.58) 55%, rgba(8,5,17,.88) 73%);
  border:1px solid rgba(231,198,255,.6); box-shadow:inset 0 0 35px rgba(255,79,187,.32), inset 0 0 90px rgba(108,53,255,.5), 0 0 8px #fff, 0 0 32px var(--pink), 0 0 90px rgba(154,92,255,.65); animation:orbBreathe 4s ease-in-out infinite; }
.orb-shell::before { content:""; position:absolute; inset:2%; border-radius:inherit; border:1px dashed rgba(255,255,255,.24); animation:spin 28s linear infinite; }
.orb-shell::after { content:""; position:absolute; width:55%; height:22%; left:23%; top:10%; border-radius:50%; background:rgba(255,255,255,.14); filter:blur(18px); transform:rotate(-12deg); }
.orb-grid { position:absolute; inset:-10%; opacity:.3; background-image:linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px); background-size:28px 28px; transform:perspective(300px) rotateX(65deg) rotateZ(12deg); border-radius:50%; animation:spin 38s linear infinite reverse; }
.orb-core { position:absolute; inset:25%; border-radius:50%; background:rgba(255,113,214,.23); filter:blur(25px); animation:pulse 2.5s ease-in-out infinite alternate; }
.orb h2 { position:absolute; inset:0; z-index:4; display:grid; place-items:center; margin:0; text-align:center; text-transform:uppercase; letter-spacing:.15em; font-size:clamp(20px, 2.1vw, 31px); line-height:1.35; font-weight:350; text-shadow:0 0 10px white, 0 0 28px var(--pink); }
.orb-halo { position:absolute; border-radius:50%; border:1px solid rgba(255,108,213,.36); }
.halo-a { width:91%; height:55%; transform:rotate(9deg); box-shadow:0 0 18px rgba(255,79,187,.18); animation:haloTilt 7s ease-in-out infinite alternate; }
.halo-b { width:82%; height:52%; transform:rotate(-32deg); border-color:rgba(191,255,85,.25); animation:haloTilt2 9s ease-in-out infinite alternate; }
.orb-shadow { position:absolute; bottom:10%; width:55%; height:12%; background:rgba(154,92,255,.43); filter:blur(25px); border-radius:50%; }
.float-glyph { position:absolute; z-index:3; left:50%; top:50%; color:var(--glyph); font-family:var(--serif); font-size:var(--size); text-shadow:0 0 9px currentColor; animation:glyphOrbit var(--speed) linear infinite; animation-delay:var(--delay); }
.spark-button { position:relative; z-index:6; min-width:230px; display:flex; justify-content:center; align-items:center; gap:12px; padding:17px 28px; border:1px solid rgba(255,255,255,.72); border-radius:999px; background:linear-gradient(135deg, #7c35e5, #c33ed4 60%, #ff5cad); box-shadow:inset 0 0 24px rgba(255,255,255,.2), 0 0 0 8px rgba(154,92,255,.1), 0 0 44px rgba(179,62,227,.65); cursor:pointer; overflow:hidden; text-transform:uppercase; letter-spacing:.18em; font-size:16px; font-weight:850; transition:.25s ease; }
.spark-button:hover { transform:translateY(-3px) scale(1.02); box-shadow:inset 0 0 24px rgba(255,255,255,.3),0 0 0 10px rgba(154,92,255,.12),0 0 60px rgba(255,79,187,.72); }
.spark-button .bolt { color:var(--lime); font-size:25px; text-shadow:0 0 12px currentColor; }
.spark-button i { position:absolute; width:60px; height:170%; left:-80px; top:-35%; transform:rotate(18deg); background:rgba(255,255,255,.3); filter:blur(12px); animation:buttonShine 4s ease-in-out infinite; }
.spark-hint { color:var(--muted); font-family:var(--serif); font-style:italic; font-size:12px; }
.spark-stage.generating .orb-shell { animation:generateOrb .85s cubic-bezier(.2,.8,.2,1) both; }
.spark-stage.generating .orb-halo { animation:fastSpin .85s ease-in-out both; }

.inspiration-panel { display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:9px; }
.challenge-nudge { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding-right:9px; color:#d8baff; text-transform:uppercase; letter-spacing:.14em; font-size:8px; font-weight:800; transition:.3s ease; }
.challenge-nudge svg { width:44px; height:30px; margin-bottom:-8px; overflow:visible; fill:none; stroke:var(--pink); stroke-width:1.4; stroke-linecap:round; stroke-linejoin:round; filter:drop-shadow(0 0 5px rgba(255,79,187,.6)); animation:signalPoint 1.25s ease-in-out infinite; }
.challenge-nudge svg path:first-child { stroke-dasharray:4 4; animation:signalFlow 1s linear infinite; }
.nudge-pulse { position:relative; width:8px; height:8px; border-radius:50%; background:var(--lime); box-shadow:0 0 10px var(--lime); }
.nudge-pulse::before, .nudge-pulse::after { content:""; position:absolute; inset:-5px; border:1px solid rgba(191,255,85,.58); border-radius:50%; animation:nudgeRadar 1.7s ease-out infinite; }
.nudge-pulse::after { animation-delay:.8s; }
.nudge-pulse i { position:absolute; inset:2px; border-radius:50%; background:white; }
.challenge-card { width:100%; border-radius:18px; padding:18px; display:flex; align-items:center; justify-content:space-between; gap:12px; transition:border-color .3s ease,box-shadow .3s ease,background .3s ease; }
.challenge-card:has(input:checked) { border-color:rgba(191,255,85,.38); background:linear-gradient(145deg,rgba(29,35,21,.78),rgba(15,10,24,.68)); box-shadow:0 0 30px rgba(191,255,85,.08),inset 0 1px rgba(255,255,255,.05); }
.inspiration-panel:has(#challengeMode:checked) .challenge-nudge { opacity:.32; filter:saturate(.4); }
.challenge-copy { display:flex; gap:12px; align-items:flex-start; }
.challenge-icon { width:34px; height:34px; display:grid; place-items:center; border-radius:10px; flex:none; color:var(--lime); background:rgba(191,255,85,.08); }
.challenge-card h2 { margin:1px 0 5px; text-transform:uppercase; letter-spacing:.08em; font-size:11px; }
.challenge-card p { margin:0; color:var(--muted); font-size:10px; line-height:1.5; }
.switch { flex:none; }
.switch input { position:absolute; opacity:0; }
.switch span { display:block; width:44px; height:25px; padding:3px; border:1px solid rgba(255,255,255,.2); border-radius:99px; background:#191621; cursor:pointer; transition:.25s; }
.switch span::after { content:""; display:block; width:17px; height:17px; border-radius:50%; background:#777382; transition:.25s; }
.switch input:checked + span { background:rgba(154,92,255,.28); border-color:var(--violet); box-shadow:0 0 18px rgba(154,92,255,.3); }
.switch input:checked + span::after { transform:translateX(19px); background:var(--lime); box-shadow:0 0 12px var(--lime); }

.mission-section { position:relative; isolation:isolate; overflow:hidden; margin:0 0 42px; padding:30px; border:1px solid var(--line); border-radius:28px; background:linear-gradient(135deg, rgba(16,13,23,.88), rgba(9,7,13,.82)); box-shadow:0 28px 90px rgba(0,0,0,.4), inset 0 1px rgba(255,255,255,.04); backdrop-filter:blur(20px); transition:border-color .45s ease,box-shadow .45s ease,background .45s ease; }
.mission-section > * { position:relative; z-index:1; }
.mission-section.is-revealed { border-color:rgba(191,255,85,.42); background:linear-gradient(145deg,rgba(18,13,28,.97),rgba(8,13,15,.95) 60%,rgba(17,8,23,.96)); box-shadow:0 34px 110px rgba(0,0,0,.58),0 0 0 1px rgba(191,255,85,.07),0 0 58px rgba(154,92,255,.15),inset 0 1px rgba(255,255,255,.07); }
.mission-section.is-revealed::before { content:""; position:absolute; z-index:0; width:720px; height:420px; left:50%; top:-285px; transform:translateX(-50%); border-radius:50%; background:radial-gradient(circle,rgba(154,92,255,.27),rgba(255,79,187,.1) 42%,transparent 72%); filter:blur(12px); pointer-events:none; }
.mission-section.is-revealed::after { content:""; position:absolute; z-index:2; top:0; left:9%; right:9%; height:2px; background:linear-gradient(90deg,transparent,var(--violet),var(--lime),var(--pink),transparent); box-shadow:0 0 16px var(--lime); pointer-events:none; }
.mission-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; padding-bottom:20px; border-bottom:1px solid var(--line); }
.mission-heading h2 { display:flex; align-items:center; gap:16px; margin:0; font-family:var(--serif); font-weight:400; font-size:31px; transition:.35s ease; }
.mission-section.is-revealed .mission-heading { border-bottom-color:rgba(191,255,85,.18); }
.mission-section.is-revealed .mission-heading h2 { color:white; font-size:clamp(32px,2.7vw,40px); font-weight:400; letter-spacing:-.02em; text-shadow:0 0 26px rgba(154,92,255,.55); }
.mission-section.is-revealed .mission-heading .eyebrow { color:var(--lime); }
.mission-heading h2 i { width:70px; height:1px; background:linear-gradient(90deg, var(--pink), transparent); }
.mission-actions { display:flex; gap:8px; }
.icon-button { display:flex; align-items:center; gap:7px; padding:9px 12px; border:1px solid var(--line); border-radius:999px; color:var(--muted); }
.icon-button:hover, .icon-button.active { color:white; background:rgba(154,92,255,.13); border-color:rgba(154,92,255,.5); }
.icon-button span { color:var(--pink); font-size:16px; }
.challenge-summary { position:relative; margin-top:20px; padding:24px 27px 25px 30px; border:1px solid rgba(191,255,85,.32); border-radius:18px; background:linear-gradient(110deg,rgba(191,255,85,.105),rgba(154,92,255,.13) 55%,rgba(255,88,198,.08)); box-shadow:inset 0 1px rgba(255,255,255,.055),0 16px 40px rgba(0,0,0,.2),0 0 30px rgba(191,255,85,.055); overflow:hidden; }
.challenge-summary::before { content:""; position:absolute; inset:0 auto 0 0; width:3px; background:linear-gradient(var(--lime),var(--violet)); box-shadow:0 0 18px var(--lime); }
.challenge-summary span { display:block; margin-bottom:8px; color:var(--lime); text-transform:uppercase; letter-spacing:.14em; font-size:9px; font-weight:800; }
.challenge-summary p { max-width:1150px; margin:0; color:white; font-family:var(--serif); font-size:clamp(21px,1.7vw,27px); font-weight:650; line-height:1.4; letter-spacing:-.01em; text-shadow:0 0 20px rgba(154,92,255,.24); }
.challenge-summary.reveal { animation:summaryReveal .6s cubic-bezier(.2,.8,.2,1) both; }
.mission-grid { display:grid; grid-template-columns:repeat(5, 1fr); gap:10px; padding-top:20px; }
.mission-empty { grid-column:1/-1; min-height:150px; display:grid; place-items:center; align-content:center; gap:10px; color:var(--muted); border:1px dashed rgba(255,255,255,.12); border-radius:18px; }
.mission-empty span { color:var(--violet); font-size:24px; text-shadow:0 0 15px var(--violet); }
.mission-empty p { margin:0; font-family:var(--serif); font-style:italic; }
.mission-card { position:relative; min-height:145px; padding:17px; border:1px solid rgba(255,255,255,.1); border-radius:16px; background:linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)); overflow:hidden; opacity:0; transform:translateY(22px) scale(.96); animation:cardReveal .55s cubic-bezier(.2,.8,.2,1) forwards; animation-delay:var(--delay); }
.mission-section.is-revealed .mission-card { border-color:color-mix(in srgb,var(--card-color) 26%,rgba(255,255,255,.08)); background:linear-gradient(145deg,color-mix(in srgb,var(--card-color) 8%,rgba(255,255,255,.045)),rgba(7,7,11,.42)); box-shadow:0 13px 30px rgba(0,0,0,.2),inset 0 1px rgba(255,255,255,.045); }
.mission-card::after { content:""; position:absolute; width:80px; height:80px; top:-45px; right:-35px; border-radius:50%; background:var(--card-color); filter:blur(40px); opacity:.24; }
.mission-card header { display:flex; align-items:center; gap:8px; margin-bottom:17px; color:var(--card-color); text-transform:uppercase; letter-spacing:.1em; font-size:9px; font-weight:800; }
.mission-card header span { width:29px; height:29px; display:grid; place-items:center; border-radius:8px; background:color-mix(in srgb,var(--card-color) 12%,transparent); font-size:15px; }
.mission-card p { margin:0; color:#f8f4fb; font-family:var(--serif); font-size:17px; font-weight:400; line-height:1.4; }

.library-section { margin:0 0 34px; padding:52px 0 40px; scroll-margin-top:24px; }
.library-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:24px; }
.library-heading .section-intro { margin:0; }
.library-description { max-width:520px; margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.library-count { min-width:116px; display:flex; align-items:baseline; justify-content:flex-end; gap:8px; padding-bottom:5px; color:var(--muted); text-transform:uppercase; letter-spacing:.11em; font-size:8px; }
.library-count strong { color:var(--pink); font-family:var(--serif); font-size:30px; font-weight:400; text-shadow:0 0 18px rgba(255,79,187,.55); }
.library-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:13px; }
.library-empty { grid-column:1/-1; min-height:210px; display:grid; place-items:center; align-content:center; gap:11px; padding:30px; text-align:center; border:1px dashed rgba(154,92,255,.28); border-radius:22px; background:linear-gradient(135deg,rgba(154,92,255,.055),rgba(255,255,255,.015)); }
.library-empty .empty-orbit { width:56px; height:56px; display:grid; place-items:center; border:1px solid rgba(154,92,255,.45); border-radius:50%; color:var(--lime); box-shadow:inset 0 0 25px rgba(154,92,255,.16),0 0 24px rgba(154,92,255,.12); font-size:20px; }
.library-empty h3 { margin:5px 0 0; font-family:var(--serif); font-size:22px; font-weight:400; }
.library-empty p { max-width:390px; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }
.idea-card { position:relative; min-height:330px; display:flex; flex-direction:column; padding:20px; overflow:hidden; border:1px solid rgba(255,255,255,.11); border-radius:20px; background:linear-gradient(150deg,rgba(23,18,31,.88),rgba(9,8,13,.84)); box-shadow:0 18px 50px rgba(0,0,0,.25); transition:.28s ease; }
.idea-card:hover { transform:translateY(-4px); border-color:rgba(154,92,255,.42); box-shadow:0 25px 60px rgba(0,0,0,.38),0 0 30px rgba(154,92,255,.06); }
.idea-card::after { content:""; position:absolute; width:150px; height:150px; right:-80px; top:-90px; border-radius:50%; background:var(--idea-color); filter:blur(55px); opacity:.18; }
.idea-topline { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:22px; }
.idea-number { display:flex; align-items:center; gap:8px; color:var(--lime); text-transform:uppercase; letter-spacing:.13em; font-size:8px; font-weight:800; }
.idea-number i { width:25px; height:25px; display:grid; place-items:center; border:1px solid rgba(191,255,85,.25); border-radius:50%; font-style:normal; }
.idea-date { color:var(--muted); font-size:8px; letter-spacing:.06em; }
.idea-card h3 { position:relative; z-index:1; margin:0 0 7px; font-family:var(--serif); font-size:24px; line-height:1.18; font-weight:400; }
.idea-card > p { position:relative; z-index:1; min-height:42px; margin:0 0 18px; color:#c9c2d1; font-family:var(--serif); font-style:italic; font-size:14px; line-height:1.45; }
.idea-details { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:6px; margin-bottom:22px; }
.idea-detail { max-width:100%; padding:6px 8px; overflow:hidden; border:1px solid rgba(255,255,255,.08); border-radius:8px; color:var(--muted); background:rgba(255,255,255,.025); white-space:nowrap; text-overflow:ellipsis; font-size:8px; }
.idea-detail b { margin-right:4px; color:var(--idea-color); font-weight:800; text-transform:uppercase; }
.idea-actions { position:relative; z-index:1; display:grid; grid-template-columns:1fr auto auto; gap:7px; margin-top:auto; padding-top:15px; border-top:1px solid rgba(255,255,255,.08); }
.idea-action { min-height:37px; display:flex; align-items:center; justify-content:center; gap:7px; padding:8px 11px; border:1px solid rgba(255,255,255,.1); border-radius:10px; background:rgba(255,255,255,.025); color:var(--muted); cursor:pointer; text-transform:uppercase; letter-spacing:.08em; font-size:8px; font-weight:750; transition:.2s; }
.idea-action:hover { color:white; border-color:rgba(154,92,255,.48); background:rgba(154,92,255,.1); }
.idea-action.primary { border-color:rgba(191,255,85,.25); color:var(--lime); }
.idea-action.delete:hover { border-color:rgba(255,79,117,.4); color:#ff6f8e; background:rgba(255,79,117,.08); }

.how-section, .tools-section { padding:68px 0; }
.section-intro { margin-bottom:24px; }
.section-intro h2 { margin:0; font-family:var(--serif); font-size:clamp(31px, 4vw, 48px); font-weight:400; }
.how-grid { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.how-grid article { padding:28px 8% 35px 0; }
.how-grid article + article { border-left:1px solid var(--line); padding-left:8%; }
.how-grid span { color:var(--pink); font-size:10px; letter-spacing:.15em; }
.how-grid h3 { margin:18px 0 8px; text-transform:uppercase; letter-spacing:.1em; font-size:13px; }
.how-grid p { margin:0; color:var(--muted); line-height:1.6; font-size:12px; }
.tool-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.tool-card { position:relative; min-height:155px; padding:18px; border:1px solid var(--line); border-radius:16px; text-align:left; background:linear-gradient(145deg,rgba(255,255,255,.05),rgba(255,255,255,.018)); cursor:pointer; transition:.25s; }
.tool-card:hover { transform:translateY(-5px); border-color:rgba(154,92,255,.5); background:rgba(154,92,255,.09); }
.tool-card.active { transform:translateY(-5px); border-color:color-mix(in srgb,var(--tool-color) 72%,white 8%); background:linear-gradient(145deg,color-mix(in srgb,var(--tool-color) 14%,rgba(255,255,255,.04)),rgba(8,7,12,.65)); box-shadow:0 14px 35px rgba(0,0,0,.34),0 0 25px color-mix(in srgb,var(--tool-color) 18%,transparent),inset 0 1px rgba(255,255,255,.07); }
.tool-card.active::after { content:""; position:absolute; left:18px; right:18px; bottom:-1px; height:2px; border-radius:2px; background:var(--tool-color); box-shadow:0 0 13px var(--tool-color); }
.tool-card span { width:40px; height:40px; display:grid; place-items:center; margin-bottom:24px; color:var(--tool-color); border:1px solid color-mix(in srgb,var(--tool-color) 35%,transparent); border-radius:11px; background:color-mix(in srgb,var(--tool-color) 9%,transparent); font-size:21px; text-shadow:0 0 9px currentColor; }
.tool-card h3 { margin:0 0 7px; text-transform:uppercase; letter-spacing:.08em; font-size:10px; }
.tool-card.active h3 { color:white; font-weight:850; }
.tool-card p { margin:0; color:var(--muted); line-height:1.45; font-size:10px; }
.tool-output { --active-tool-color:var(--violet); position:relative; overflow:hidden; min-height:95px; display:flex; align-items:center; gap:16px; margin-top:14px; padding:20px 24px; border:1px dashed rgba(154,92,255,.38); border-radius:18px; background:rgba(154,92,255,.05); transition:.3s ease; }
.tool-output > span { flex:none; color:var(--lime); text-shadow:0 0 10px currentColor; font-size:22px; }
.tool-output p { margin:0; font-family:var(--serif); font-size:20px; line-height:1.35; }
.tool-output.has-result { min-height:114px; padding:22px 26px 23px 29px; border-style:solid; border-color:color-mix(in srgb,var(--active-tool-color) 62%,white 5%); background:linear-gradient(115deg,color-mix(in srgb,var(--active-tool-color) 16%,rgba(10,8,15,.96)),rgba(8,7,12,.92) 68%); box-shadow:0 20px 48px rgba(0,0,0,.35),0 0 34px color-mix(in srgb,var(--active-tool-color) 16%,transparent),inset 0 1px rgba(255,255,255,.065); }
.tool-output.has-result::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:var(--active-tool-color); box-shadow:0 0 22px var(--active-tool-color); }
.tool-output.has-result::after { content:""; position:absolute; width:190px; height:190px; right:-90px; top:-115px; border-radius:50%; background:var(--active-tool-color); filter:blur(70px); opacity:.13; pointer-events:none; }
.tool-output.has-result > span { color:var(--active-tool-color); font-size:34px; text-shadow:0 0 16px currentColor; }
.tool-generated-copy { position:relative; z-index:1; min-width:0; }
.tool-generated-copy small { display:block; margin-bottom:8px; color:var(--active-tool-color); text-transform:uppercase; letter-spacing:.14em; font-size:9px; font-weight:850; }
.tool-generated-copy p { color:white; font-size:clamp(20px,1.6vw,24px); font-weight:400; line-height:1.38; letter-spacing:0; text-shadow:0 0 20px color-mix(in srgb,var(--active-tool-color) 24%,transparent); }
.tool-output.is-rhyme { border-style:solid; border-color:rgba(97,233,225,.3); background:linear-gradient(120deg,rgba(97,233,225,.07),rgba(154,92,255,.065)); box-shadow:0 16px 38px rgba(0,0,0,.24),0 0 28px rgba(97,233,225,.055); }
.tool-output.flash { animation:outputFlash .62s cubic-bezier(.2,.8,.2,1); }
.rhyme-lab { width:100%; }
.rhyme-lab label { display:block; margin-bottom:11px; color:var(--cyan); text-transform:uppercase; letter-spacing:.14em; font-size:9px; font-weight:800; }
.rhyme-entry { display:grid; grid-template-columns:1fr auto; gap:8px; }
.rhyme-entry input { width:100%; min-width:0; padding:13px 15px; border:1px solid rgba(97,233,225,.26); border-radius:11px; outline:0; background:rgba(5,13,16,.62); color:var(--ink); caret-color:var(--cyan); }
.rhyme-entry input::placeholder { color:#6f7480; }
.rhyme-entry input:focus { border-color:var(--cyan); box-shadow:0 0 0 3px rgba(97,233,225,.08),0 0 24px rgba(97,233,225,.08); }
.rhyme-submit { padding:11px 18px; border:1px solid rgba(97,233,225,.4); border-radius:11px; background:linear-gradient(135deg,rgba(97,233,225,.13),rgba(154,92,255,.15)); color:var(--cyan); cursor:pointer; text-transform:uppercase; letter-spacing:.1em; font-size:9px; font-weight:800; }
.rhyme-submit:hover { background:rgba(97,233,225,.14); box-shadow:0 0 24px rgba(97,233,225,.09); }
.rhyme-results { min-height:22px; margin-top:16px; }
.rhyme-results:empty { margin:0; min-height:0; }
.rhyme-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; margin-top:8px; }
.rhyme-group { min-width:0; padding:12px; border:1px solid rgba(255,255,255,.08); border-radius:13px; background:rgba(255,255,255,.025); }
.rhyme-group--perfect { border-color:rgba(191,255,85,.18); }
.rhyme-group--close { border-color:rgba(154,92,255,.22); }
.rhyme-group--phonetic { border-color:rgba(97,233,225,.2); }
.rhyme-group-title { display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin-bottom:10px; }
.rhyme-group-title strong { color:#f2edf8; text-transform:uppercase; letter-spacing:.09em; font-size:9px; }
.rhyme-group--perfect .rhyme-group-title strong { color:var(--lime); }
.rhyme-group--close .rhyme-group-title strong { color:#bb95ff; }
.rhyme-group--phonetic .rhyme-group-title strong { color:var(--cyan); }
.rhyme-group-title small { color:#777381; font-size:8px; }
.rhyme-chip-list { display:flex; flex-wrap:wrap; gap:6px; }
.rhyme-chip { padding:7px 10px; border:1px solid rgba(255,255,255,.1); border-radius:999px; background:rgba(255,255,255,.035); color:#d9fdfb; font-family:var(--serif); font-size:13px; animation:cardReveal .35s ease both; animation-delay:var(--chip-delay); }
.rhyme-chip:hover { border-color:rgba(97,233,225,.38); background:rgba(97,233,225,.08); transform:translateY(-1px); }
.rhyme-note { width:100%; color:var(--muted); font-family:var(--sans); font-size:9px; }
.rhyme-empty { color:#5f5a68; }
.rhyme-no-match { margin:12px 0 0; color:var(--muted); font-size:11px; }

footer { width:min(1500px, calc(100% - 56px)); margin:0 auto; padding:35px 0; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:20px; color:var(--muted); font-size:10px; }
.footer-brand { font-size:15px; color:var(--ink); }
.footer-brand .brand-mark { width:30px; height:30px; }
.creator-credit { display:flex; align-items:center; justify-content:flex-end; gap:7px; color:#797481; text-transform:uppercase; letter-spacing:.12em; font-size:7px; }
.creator-credit strong { color:#b9b2c2; font-size:9px; letter-spacing:.18em; }
.puros-logo-link { display:block; width:96px; padding:5px 7px 4px; border:1px solid rgba(255,255,255,.14); border-radius:7px; background:rgba(255,255,255,.92); box-shadow:0 0 0 0 rgba(154,92,255,0); transition:.2s ease; }
.puros-logo-link img { display:block; width:100%; height:auto; }
.puros-logo-link:hover { transform:translateY(-2px); border-color:rgba(191,255,85,.58); box-shadow:0 0 20px rgba(154,92,255,.18); background:white; }
.toast { position:fixed; left:50%; bottom:25px; z-index:20; transform:translate(-50%,20px); padding:12px 18px; border:1px solid rgba(191,255,85,.4); border-radius:999px; background:#111019; color:var(--lime); box-shadow:0 10px 40px rgba(0,0,0,.45); font-size:11px; opacity:0; pointer-events:none; transition:.3s; }
.toast.show { opacity:1; transform:translate(-50%,0); }

.custom-cursor { display:none; --cursor-x:-80px; --cursor-y:-80px; --orbit-x:-80px; --orbit-y:-80px; pointer-events:none; }
.cursor-spark, .cursor-orbit, .cursor-ripple { position:fixed; z-index:10000; left:0; top:0; display:grid; place-items:center; pointer-events:none; will-change:transform,opacity; }
.cursor-spark { width:23px; height:23px; border:1px solid rgba(255,255,255,.86); border-radius:50%; background:var(--lime); color:#15091e; font-size:12px; line-height:1; box-shadow:0 0 0 3px rgba(191,255,85,.13),0 0 13px var(--lime),0 0 28px rgba(191,255,85,.55); transform:translate3d(var(--cursor-x),var(--cursor-y),0) translate(-50%,-50%) rotate(var(--spark-rotation,0deg)) scale(var(--spark-scale,1)); transition:opacity .1s ease,color .12s ease,background .12s ease,transform .1s ease; }
.cursor-orbit { width:48px; height:48px; border:2px solid rgba(193,137,255,.84); border-radius:50%; box-shadow:inset 0 0 15px rgba(154,92,255,.2),0 0 18px rgba(154,92,255,.34); opacity:.92; transform:translate3d(var(--orbit-x),var(--orbit-y),0) translate(-50%,-50%) scale(var(--orbit-scale,1)); transition:width .14s ease,height .14s ease,border-color .12s ease,background .12s ease,box-shadow .12s ease,opacity .1s ease; }
.cursor-orbit::before { content:""; position:absolute; inset:-7px; border-radius:50%; border-top:2px solid rgba(255,79,187,.82); border-right:1px solid transparent; animation:cursorOrbit 2s linear infinite; }
.cursor-orbit::after { content:""; position:absolute; inset:5px; border-radius:50%; border-bottom:1px solid rgba(191,255,85,.65); border-left:1px solid transparent; animation:cursorOrbit 2s linear infinite reverse; }
.cursor-orbit i { position:absolute; width:4px; height:4px; border-radius:50%; background:var(--pink); box-shadow:0 0 9px var(--pink); }
.cursor-orbit i:nth-child(1) { top:-2px; left:50%; }
.cursor-orbit i:nth-child(2) { right:1px; bottom:5px; background:var(--violet); box-shadow:0 0 7px var(--violet); }
.cursor-orbit i:nth-child(3) { left:0; bottom:8px; width:2px; height:2px; background:var(--lime); box-shadow:0 0 7px var(--lime); }
.cursor-ripple { width:50px; height:50px; border:2px solid var(--pink); border-radius:50%; opacity:0; box-shadow:0 0 18px rgba(255,79,187,.7); transform:translate3d(var(--cursor-x),var(--cursor-y),0) translate(-50%,-50%) scale(.35); }
.custom-cursor.is-interactive .cursor-orbit { width:66px; height:66px; border-color:rgba(191,255,85,.9); background:rgba(154,92,255,.12); box-shadow:inset 0 0 23px rgba(154,92,255,.3),0 0 27px rgba(154,92,255,.45); }
.custom-cursor.is-interactive .cursor-spark { background:white; color:#7b2bd6; --spark-rotation:45deg; --spark-scale:1.16; box-shadow:0 0 0 4px rgba(191,255,85,.18),0 0 16px white,0 0 32px rgba(191,255,85,.72); }
.custom-cursor.is-pressed .cursor-orbit { --orbit-scale:.58; border-color:var(--pink); background:rgba(255,79,187,.18); }
.custom-cursor.is-pressed .cursor-spark { --spark-scale:.76; background:var(--pink); color:white; }
.custom-cursor.is-clicked .cursor-ripple { animation:cursorClick .46s cubic-bezier(.12,.7,.2,1) both; }
.custom-cursor.is-hidden .cursor-orbit, .custom-cursor.is-hidden .cursor-spark, .custom-cursor.is-hidden .cursor-ripple { opacity:0; }

@keyframes cursorOrbit { to { transform:rotate(360deg); } }
@keyframes cursorClick { 0% { opacity:1; transform:translate3d(var(--cursor-x),var(--cursor-y),0) translate(-50%,-50%) scale(.35); } 100% { opacity:0; transform:translate3d(var(--cursor-x),var(--cursor-y),0) translate(-50%,-50%) scale(1.9); } }
@keyframes signalPoint { 50% { transform:translate(4px,3px) rotate(2deg); } }
@keyframes signalFlow { to { stroke-dashoffset:-16; } }
@keyframes nudgeRadar { 0% { transform:scale(.3); opacity:0; } 30% { opacity:1; } 100% { transform:scale(1.8); opacity:0; } }

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .custom-cursor { display:block; }
  html.has-custom-cursor, html.has-custom-cursor body, html.has-custom-cursor a, html.has-custom-cursor button, html.has-custom-cursor label, html.has-custom-cursor .option-card, html.has-custom-cursor .tool-card, html.has-custom-cursor .idea-card { cursor:none !important; }
  html.has-custom-cursor input, html.has-custom-cursor textarea, html.has-custom-cursor [contenteditable="true"] { cursor:text !important; }
}

@keyframes drift { to { transform:translate(6vw,4vw) scale(1.1); } }
@keyframes particleFloat { to { transform:translateY(-35px) translateX(13px); opacity:.1; } }
@keyframes spin { to { transform:rotate(360deg); } }
@keyframes fastSpin { to { transform:rotate(480deg) scale(1.12); opacity:.2; } }
@keyframes orbBreathe { 50% { transform:scale(1.025); box-shadow:inset 0 0 45px rgba(255,79,187,.4),inset 0 0 100px rgba(108,53,255,.62),0 0 10px #fff,0 0 44px var(--pink),0 0 110px rgba(154,92,255,.75); } }
@keyframes pulse { to { transform:scale(1.35); opacity:.5; } }
@keyframes haloTilt { to { transform:rotate(22deg) scaleX(.96); } }
@keyframes haloTilt2 { to { transform:rotate(-18deg) scaleY(.92); } }
@keyframes glyphOrbit { from { transform:rotate(var(--angle)) translateX(var(--radius)) rotate(calc(var(--angle) * -1)); } to { transform:rotate(calc(var(--angle) + 360deg)) translateX(var(--radius)) rotate(calc((var(--angle) + 360deg) * -1)); } }
@keyframes buttonShine { 0%,55% { left:-90px; } 85%,100% { left:120%; } }
@keyframes eq { to { height:5px; opacity:.5; } }
@keyframes generateOrb { 0% { transform:scale(1); filter:hue-rotate(0); } 45% { transform:scale(.88) rotate(-5deg); filter:hue-rotate(80deg) brightness(1.8); } 75% { transform:scale(1.14) rotate(3deg); } 100% { transform:scale(1); } }
@keyframes cardReveal { to { opacity:1; transform:none; } }
@keyframes summaryReveal { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes outputFlash { 0% { opacity:.35; transform:translateY(7px) scale(.985); } 55% { opacity:1; border-color:var(--active-tool-color); box-shadow:0 0 44px color-mix(in srgb,var(--active-tool-color) 24%,transparent); } 100% { opacity:1; transform:none; } }
@keyframes mobileAmbientDrift { from { transform:scale(1.035) translate3d(-.35%,0,0); } to { transform:scale(1.065) translate3d(.35%,-.5%,0); } }

@media (max-width: 1180px) {
  .site-header, main, footer { width:min(100% - 32px, 1000px); }
  .manifesto { display:none; }
  .site-header { grid-template-columns:1fr auto; }
  .experience { grid-template-columns:280px 1fr; gap:22px; }
  .spark-stage { grid-column:2; grid-row:1; }
  .inspiration-panel { grid-column:1/-1; width:min(420px,100%); justify-self:end; }
  .mission-grid { grid-template-columns:repeat(3,1fr); }
  .library-grid { grid-template-columns:repeat(2,1fr); }
  .tool-grid { grid-template-columns:repeat(3,1fr); }
}

@media (max-width: 760px) {
  .site-header { width:calc(100% - 28px); height:auto; min-height:76px; }
  .brand { font-size:16px; }
  .brand-mark { width:32px; height:32px; }
  .text-button { display:none; }
  main { width:calc(100% - 24px); }
  .experience { display:flex; flex-direction:column; min-height:0; padding-top:24px; gap:25px; }
  .spark-stage { order:1; width:100%; }
  .selector-panel { order:2; width:100%; }
  .inspiration-panel { order:3; width:100%; display:flex; flex-direction:column; }
  .challenge-card { width:100%; }
  .orb { width:min(100vw, 430px); margin:-8px 0 -28px; }
  .stage-kicker { width:88%; }
  .spark-button { min-width:210px; padding:15px 24px; }
  .option-list { grid-template-columns:1fr 1fr; }
  .option-card { grid-template-columns:36px 1fr 22px; gap:8px; min-width:0; padding-left:8px; }
  .option-icon { width:36px; height:36px; font-size:17px; }
  .option-copy small { max-width:110px; }
  .mission-section { padding:20px 14px; border-radius:21px; }
  .mission-heading { align-items:center; }
  .mission-heading h2 { font-size:25px; }
  .mission-heading h2 i, .icon-button b { display:none; }
  .challenge-summary { padding:17px 18px 18px 20px; }
  .challenge-summary p { font-size:19px; }
  .mission-grid { grid-template-columns:1fr 1fr; }
  .mission-card { min-height:135px; }
  .library-section { padding-top:44px; }
  .library-heading { align-items:start; }
  .library-count { min-width:auto; flex-direction:column; align-items:flex-end; gap:1px; }
  .library-grid { grid-template-columns:1fr; }
  .idea-card { min-height:300px; }
  .how-section, .tools-section { padding:45px 0; }
  .how-grid { grid-template-columns:1fr; }
  .how-grid article { padding:24px 0; }
  .how-grid article + article { border-left:0; border-top:1px solid var(--line); padding-left:0; }
  .tool-grid { grid-template-columns:1fr 1fr; }
  .tool-card { min-height:145px; }
  .tool-output p { font-size:17px; }
  .tool-output.has-result { min-height:105px; padding:20px 18px 21px 22px; }
  .tool-output.has-result .tool-generated-copy p { font-size:19px; }
  .rhyme-entry { grid-template-columns:1fr; }
  .rhyme-submit { min-height:42px; }
  .rhyme-groups { grid-template-columns:1fr; }
  footer { width:calc(100% - 28px); flex-direction:column; text-align:center; }
}

/* Mobile browsers often place a native play button over background video when autoplay is blocked.
   Use the animated poster, auroras, and particles instead so no media control can cover the UI. */
@media (hover:none), (pointer:coarse), (max-width:760px) {
  .ambient-video { display:none !important; visibility:hidden !important; pointer-events:none; }
  .ambient { inset:-2%; animation:mobileAmbientDrift 18s ease-in-out infinite alternate; }
}

@media (max-width: 430px) {
  .option-list { grid-template-columns:1fr; }
  .option-copy small { max-width:210px; }
  .mission-grid { grid-template-columns:1fr; }
  .mission-card { min-height:120px; }
  .tool-grid { grid-template-columns:1fr; }
  .tool-card { min-height:120px; }
  .tool-card span { margin-bottom:16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-video { display:none; }
  *, *::before, *::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; }
}
