
@font-face { font-family: 'DM Sans'; src: url('/assets/DMSans.ttf') format('truetype'); font-weight: 100 1000; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/assets/BricolageGrotesque.ttf') format('truetype'); font-weight: 200 800; }
:root { --bg: #FFFAF5; --ink: #27221E; --accent: #B6402A; --soft: #FFE1CB; --muted: #6F6660;
        --card: #FFFCF9; --line: #E7DED5; --head: 'DM Sans'; --body: 'DM Sans'; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 var(--body), system-ui, sans-serif; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
header.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; max-width: 1100px; margin: 0 auto; flex-wrap: wrap; }
.brand { display: flex; gap: 10px; align-items: center; text-decoration: none; font: 700 22px var(--head), sans-serif; }
.brand img { border-radius: 9px; }
nav { display: flex; gap: 14px; } nav a { text-decoration: none; color: var(--muted); } nav a[aria-current] { color: var(--accent); font-weight: 600; }
main { max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }
h1 { font: 700 clamp(30px, 6vw, 52px)/1.05 var(--head), sans-serif; margin: 18px 0 8px; }
h1 em { color: var(--accent); }
.tagline { color: var(--muted); margin: 0 0 16px; }
.cover { display: block; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 2 / 1; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover span { position: absolute; left: 20px; bottom: 16px; color: #fff; font: 700 24px var(--head); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.filters { display: grid; gap: 12px; margin: 18px 0; }
.search input { width: 100%; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.scenes, .letters { display: flex; flex-wrap: wrap; gap: 6px; }
.scenes button, .letters button { border: 1.5px solid var(--line); background: transparent; color: var(--ink); border-radius: 12px; padding: 8px 14px; font: inherit; cursor: pointer; }
.scenes button[aria-pressed=true], .letters button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.more summary { cursor: pointer; color: var(--muted); } .more label { display: block; margin: 8px 0; }
.count { color: var(--muted); }
ol.tools { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tool { position: relative; background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.tool a { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding: 12px 64px 12px 12px; text-decoration: none; }
.tool img { grid-row: span 2; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.tool .initial { display: none; } .tool .name { font-weight: 700; font-size: 18px; } .tool .use { color: var(--muted); }
.save { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 10px; padding: 6px 10px; cursor: pointer; font: inherit; }
.save[aria-pressed=true] { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.empty { padding: 20px; border: 1.5px dashed var(--line); border-radius: 16px; }
.detail figure { margin: 0; } .detail img { width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; }
.detail figcaption { color: var(--muted); font-size: 13px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; position: relative; }
.official { background: var(--accent); color: var(--bg); padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.actions .save { position: static; transform: none; }
.caps { display: grid; gap: 0; border: 1.5px solid var(--line); border-radius: 16px; padding: 4px 16px; background: var(--card); }
.caps div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.caps div:last-child { border-bottom: 0; } .caps dt { color: var(--muted); } .caps dd { margin: 0; font-weight: 600; text-align: right; }
.source, .evidence { color: var(--muted); font-size: 14px; }
.prose { max-width: 720px; } footer { max-width: 1100px; margin: 0 auto; padding: 24px 16px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
/* brand layouts */
.layout-split ol.tools { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.layout-split .tool a { grid-template-columns: 1fr; padding: 0 0 12px; } .layout-split .tool img { width: 100%; height: 260px; border-radius: 0; }
.layout-split .tool .name, .layout-split .tool .use { padding: 0 12px; } .layout-split .save { top: 12px; transform: none; }
.layout-deck ol.tools { grid-auto-flow: row; } .layout-deck .tool a { grid-template-columns: 1fr; padding: 0; }
.layout-deck .tool img { width: 100%; height: min(70vh, 560px); border-radius: 0; }
.layout-deck .tool .name { position: absolute; left: 16px; bottom: 44px; font: 700 34px var(--head); color: #fff; }
.layout-deck .tool .use { position: absolute; left: 16px; bottom: 16px; color: #fff; } .layout-deck .save { top: 16px; transform: none; }
.layout-gallery ol.tools { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.layout-gallery .tool { border: 0; border-radius: 0; border-bottom: 1.5px solid var(--line); background: transparent; }
.layout-gallery .tool a { grid-template-columns: 1fr; padding: 0 0 10px; } .layout-gallery .tool img { width: 100%; height: 220px; border-radius: 0; }
.layout-gallery .tool .initial { display: inline; font: italic 22px Georgia, serif; color: var(--accent); }
.layout-gallery .save { top: 10px; transform: none; }
.layout-album .tool { transform: rotate(-0.6deg); box-shadow: 0 6px 18px rgba(60,40,20,.12); }
.layout-album .tool:nth-child(even) { transform: rotate(0.6deg); }
.layout-album h1 em { font-style: italic; }
@media (min-width: 820px) { .layout-list ol.tools, .layout-album ol.tools { grid-template-columns: 1fr 1fr; } }
/* app landing page */
.landing { max-width: 980px; }
.land-hero { text-align: center; padding: 28px 0 8px; }
.land-mark { border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.eyebrow { margin: 14px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.land-hero h1 { margin: 6px auto 8px; max-width: 760px; }
.land-hero .tagline { max-width: 620px; margin: 0 auto 18px; }
.land-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.land-cta .ghost { text-decoration: none; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 12px; }
.land-cta .soon { padding: 11px 18px; border: 1.5px dashed var(--line); border-radius: 12px; color: var(--muted); }
.land-shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 14px; overflow-x: auto; padding: 22px 0; scroll-snap-type: x mandatory; }
.land-shots figure { margin: 0; scroll-snap-align: center; }
.land-shots img { width: 100%; border-radius: 18px; border: 1.5px solid var(--line); background: var(--card); }
.land-shots figcaption { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }
.land-points { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 26px 0; }
.land-points li { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; }
.land-points h2 { font: 700 19px var(--head), sans-serif; margin: 0 0 8px; }
.land-points p { margin: 0; color: var(--muted); }
.land-note { color: var(--muted); font-size: 14px; text-align: center; }