/* Story ideas: calm, on-demand motion in the existing Marigold & Ink palette. */
:where(.ideas-home,.ideas-page-head,.ideas-collection,.ideas-next,.idea-dialog) :focus-visible { outline:3px solid var(--violet); outline-offset:5px; }
.ideas-home { border-top:1px solid var(--line); }
.ideas-intro { display:grid; grid-template-columns:1fr 1fr; gap:4rem; align-items:end; margin-bottom:2.5rem; }
.ideas-intro .lead { margin-bottom:1rem; max-width:520px; }
.ideas-intro h2 { margin:0; }
.ideas-more { display:inline-block; font-weight:750; text-decoration:underline; text-underline-offset:5px; padding:8px 0; }
.ideas-more span { margin-left:10px; }
.ideas-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2.8rem 1.5rem; }
.idea-card { min-width:0; scroll-margin-top:100px; }
.idea-card[hidden] { display:none; }
.idea-film { position:relative; display:block; overflow:hidden; border-radius:20px; background:var(--paper-2); border:1px solid rgba(23,15,46,.1); box-shadow:0 8px 30px -22px rgba(23,15,46,.3); }
.idea-film img { display:block; width:100%; height:auto; aspect-ratio:4/5; }
.idea-play { position:absolute; left:50%; bottom:7%; transform:translateX(-50%); display:flex; justify-content:center; gap:9px; align-items:center; min-height:44px; padding:10px 18px; white-space:nowrap; background:var(--ink); color:#fff; border:1px solid rgba(255,255,255,.7); border-radius:999px; font-size:.82rem; font-weight:750; box-shadow:0 4px 15px #170f2e33; }
.idea-film:hover .idea-play { background:var(--violet); }
.idea-copy { padding:1.1rem .15rem 0; }
.idea-category { font-size:.67rem; font-weight:750; letter-spacing:.08em; text-transform:uppercase; color:#67527f; margin-bottom:.55rem; }
.idea-copy h3 { font-size:1.35rem; line-height:1.15; max-width:25ch; }
.idea-copy > p:last-child { font-size:.9rem; line-height:1.55; color:var(--muted); margin-top:.6rem; max-width:40ch; }
.ideas-note { color:var(--muted); font-size:.82rem; max-width:760px; margin:2rem 0 0; }
.ideas-page-head { position:relative; isolation:isolate; overflow:hidden; padding:2.2rem max(5vw,calc((100vw - 1150px)/2)) 4.3rem; background:linear-gradient(105deg,var(--paper) 40%,#ffedcf); border-bottom:1px solid var(--line); }
.ideas-back { display:inline-block; font-size:.85rem; color:var(--muted); padding:8px 0; margin-bottom:3rem; }
.ideas-page-head .eyebrow { color:#99511c; }
.ideas-page-head h1 { font-size:clamp(3.8rem,7.5vw,7rem); max-width:11ch; line-height:.98; }
.ideas-page-head h1 em { font-family:"Playfair Display",serif; font-weight:700; color:#6436d9; }
.ideas-page-head .lead { max-width:530px; margin:1.7rem 0; }
.ideas-page-meta { display:flex; align-items:center; gap:1.25rem; flex-wrap:wrap; }
.ideas-page-meta p { font-size:.75rem; color:var(--muted); }
.ideas-concept-label { display:inline-block; font-size:.7rem; border:1px solid #ccb9a2; border-radius:999px; padding:6px 12px; font-weight:750; letter-spacing:.03em; }
.ideas-doodle { position:absolute; width:clamp(15rem,36vw,32rem); height:auto; color:var(--marigold); line-height:1; z-index:-1; right:7%; top:20%; transform:rotate(15deg); opacity:.5; }
.ideas-collection { padding-top:2.8rem; }
.ideas-tools { display:flex; flex-wrap:wrap; justify-content:space-between; gap:1.2rem; align-items:center; margin-bottom:2.2rem; }
.ideas-filters { display:flex; flex-wrap:wrap; gap:.5rem; }
.ideas-filters[hidden] { display:none; }
.ideas-filters button { cursor:pointer; min-height:44px; border:1px solid #d6c9b8; background:transparent; color:var(--ink); border-radius:999px; padding:10px 16px; font-size:.82rem; font-weight:650; }
.ideas-filters button[aria-pressed="true"] { background:var(--ink); border-color:var(--ink); color:#fff; }
.ideas-filters button:hover { border-color:var(--violet); }
.ideas-instruction { font-size:.78rem; color:var(--muted); }
.ideas-next { padding:5rem 5vw; background:var(--paper-2); text-align:center; }
.ideas-next h2 { font-size:clamp(2.7rem,5vw,4.4rem); }
.ideas-next p:not(.eyebrow) { color:var(--muted); margin:1.5rem auto; max-width:570px; }
.ideas-next .ideas-more { display:block; width:fit-content; margin:1rem auto 0; }
.ideas-skip { position:fixed; top:8px; left:8px; z-index:100; background:var(--ink); color:white; padding:12px; border-radius:8px; transform:translateY(-180%); }
.ideas-skip:focus { transform:none; }
.ideas-sr { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.idea-dialog { border:0; border-radius:22px; padding:0; margin:auto; background:var(--paper); color:var(--ink); width:min(960px,calc(100% - 32px)); max-height:calc(100dvh - 32px); overflow:auto; box-shadow:0 20px 80px #0008; }
.idea-dialog::backdrop { background:rgba(18,11,35,.85); }
.idea-dialog[open] { display:grid; grid-template-columns:minmax(0,1.04fr) minmax(0,1fr); }
.idea-dialog-media { background:#170f2e; display:flex; align-items:center; min-width:0; }
.idea-dialog video { display:block; width:100%; aspect-ratio:4/5; max-height:calc(100dvh - 32px); object-fit:contain; }
.idea-dialog-content { position:relative; padding:3.5rem 2rem 2rem; }
.idea-dialog h2 { font-size:clamp(1.65rem,3vw,2.5rem); line-height:1.07; margin:.8rem 0 1.1rem; }
.idea-dialog-content > p { color:var(--muted); font-size:.9rem; }
.idea-dialog-content .idea-prompt { margin:1.5rem 0; padding:1rem; background:#f3e8d8; border-radius:12px; color:var(--ink); font-weight:650; }
.idea-dialog-close { position:absolute; z-index:1; right:12px; top:12px; width:44px; height:44px; border:1px solid #d6c9b8; border-radius:50%; background:var(--paper); font-size:1.25rem; color:var(--ink); cursor:pointer; }
.idea-dialog details { font-size:.75rem; color:var(--muted); margin-top:1.5rem; }
.idea-dialog summary { cursor:pointer; padding:8px 0; font-weight:700; }
.idea-dialog details p { margin-top:.5rem; }
.idea-dialog .idea-error { margin-top:.6rem; font-size:.8rem; }
.idea-dialog .idea-error a { text-decoration:underline; }
.idea-dialog .idea-disclaimer { font-size:.73rem; margin:1.5rem 0 0; border-top:1px solid var(--line); padding-top:1rem; }
html:has(.idea-dialog[open]) { overflow:hidden; }
[data-story-page] .nav-links [aria-current="page"] { color:var(--violet); }
@media (max-width:1100px) and (min-width:861px) { .nav-links { gap:1.1rem; font-size:.87rem; } }
@media (max-width:900px) { .ideas-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ideas-intro { gap:2rem; } .ideas-featured .idea-card:last-child { display:none; } .ideas-doodle { right:-8%; top:35%; opacity:.25; } }
@media (max-width:650px) { .ideas-intro { grid-template-columns:1fr; gap:1.2rem; } .ideas-page-head { padding-top:1.5rem; padding-bottom:3rem; } .ideas-back { margin-bottom:2rem; } .ideas-page-head h1 { font-size:4rem; } .ideas-doodle { top:18%; right:-35%; opacity:.15; } .ideas-page-head .lead { font-size:1.03rem; } .idea-dialog[open] { display:block; width:min(460px,calc(100% - 20px)); max-height:calc(100dvh - 20px); } .idea-dialog video { max-height:65dvh; } .idea-dialog-content { padding:1.5rem; } .idea-dialog-close { position:sticky; float:right; top:10px; margin:10px 10px -54px 0; background:#fff; } }
@media (max-width:600px) { .ideas-grid { grid-template-columns:minmax(0,1fr); gap:2rem; } .ideas-featured .idea-card:last-child { display:block; } .idea-film { max-width:430px; margin:auto; } .idea-copy { max-width:430px; margin:auto; } .ideas-filters { gap:6px; } .ideas-filters button { font-size:.75rem; padding:9px 12px; } .ideas-collection { padding-top:2rem; } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .idea-film, .idea-play { animation:none; transition:none; } }
