/* ROUND TWO — 21–40. Original presets remain in themes.css for comparison. */

/* 21 — Miami Daybreak: warm glass, citrus, and a slightly offbeat stack. */
[data-theme="miamidaybreak"]{--page:#f8eee0;--ink:#263f42;--muted:#526768;--accent:#a9442f;--surface:#fffcf4;--line:#cba992;--radius:10px 28px 10px 10px;--border:1px solid #cba992;--shadow:6px 7px 0 #e8ae7b;--font:"Trebuchet MS",Arial,sans-serif;--display:Arial,sans-serif;--title-weight:800;--title-spacing:-.065em;--card-gap:30px}
[data-theme="miamidaybreak"] .site-surface{background:radial-gradient(ellipse at 85% 10%,#a5d8cd9c,transparent 50%),linear-gradient(140deg,#fff6df,#f9e3cc)}
[data-theme="miamidaybreak"] .gallery-intro h1{font-style:italic}
[data-theme="miamidaybreak"] .gallery-intro em{color:#356f72;text-decoration:underline;text-decoration-color:#eaa16e;text-decoration-thickness:5px;text-underline-offset:6px}
[data-theme="miamidaybreak"] .visual-ascii{--visual-bg:#f1c28a;--visual-ink:#6a3d2b}[data-theme="miamidaybreak"] .visual-math{--visual-bg:#8bc9c6;--visual-ink:#1a5054}[data-theme="miamidaybreak"] .visual-atom{--visual-bg:#f1b6a0;--visual-ink:#723c30}
[data-theme="miamidaybreak"] .project-card:nth-child(2){box-shadow:6px 7px 0 #7eb6ae}
[data-theme="miamidaybreak"] .project-card:nth-child(3){box-shadow:6px 7px 0 #dc9b87}
[data-theme="miamidaybreak"] .launch-arrow{border:0;background:#2f6c6d;color:#fff}

/* 22 — Miami After Dark: teal night, lit edges, coral against blue. */
[data-theme="miaminight"]{color-scheme:dark;--page:#10282d;--ink:#f8f0da;--muted:#b1d1ce;--accent:#ffb694;--accent-ink:#152b30;--surface:#153e44;--line:#4d8586;--radius:14px;--border:1px solid #64a7a4;--shadow:0 7px 0 #061c21,0 0 28px #259b991c;--font:"Segoe UI",Arial,sans-serif;--display:"Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.065em;--card-gap:27px}
[data-theme="miaminight"] .site-surface{background:radial-gradient(ellipse at 92% 0,#c15d5955,transparent 45%),radial-gradient(ellipse at 0 80%,#22999344,transparent 65%),#10282d}
[data-theme="miaminight"] .gallery-intro h1{font-style:italic;text-shadow:2px 2px #07565c}
[data-theme="miaminight"] .project-visual{border-bottom:2px solid #79c1b4}
[data-theme="miaminight"] .visual-ascii{--visual-bg:#562c3d;--visual-ink:#ffd3bd}[data-theme="miaminight"] .visual-math{--visual-bg:#1b5260;--visual-ink:#a5f2df}[data-theme="miaminight"] .visual-atom{--visual-bg:#283e61;--visual-ink:#f5ce9b}
[data-theme="miaminight"] .card-footer{color:#f9ba99}

/* 23 — Poolside Glass: inset panes and a calm, bright turquoise atmosphere. */
[data-theme="poolsideglass"]{--page:#cde9e6;--ink:#254a50;--muted:#4d6a70;--accent:#985037;--surface:#ffffffad;--line:#ffffffd9;--radius:28px;--border:1px solid #ffffffed;--shadow:0 18px 35px #315d5e20;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.055em;--card-gap:28px}
[data-theme="poolsideglass"] .site-surface{background:radial-gradient(ellipse at 85% 15%,#ffdfc7,transparent 50%),radial-gradient(ellipse at 5% 85%,#8ed2cf,transparent 65%),#d6eeed}
[data-theme="poolsideglass"] .project-card{padding:10px;backdrop-filter:blur(22px)}
[data-theme="poolsideglass"] .project-visual{border:0;border-radius:20px;background-image:linear-gradient(150deg,#ffffff90,transparent)}
[data-theme="poolsideglass"] .visual-ascii{--visual-bg:#a5d9d5;--visual-ink:#275959}[data-theme="poolsideglass"] .visual-math{--visual-bg:#c6e5eb;--visual-ink:#365c6d}[data-theme="poolsideglass"] .visual-atom{--visual-bg:#f1d1ae;--visual-ink:#775034}
[data-theme="poolsideglass"] .card-body{padding:24px 16px 14px}
[data-theme="poolsideglass"] .card-footer{border-color:#527c8138}
[data-theme="poolsideglass"] .gallery-intro em{color:#3d7d85;font-style:italic}

/* 24 — Peach Fizz: crisp cream cards against a warm gradient. */
[data-theme="peachfizz"]{--page:#efba9a;--ink:#563831;--muted:#705246;--accent:#964323;--surface:#fffaf0;--line:#d5a887;--radius:20px;--border:1px solid #fff3df;--shadow:0 7px 0 #bc78634d,0 20px 35px #9e5c4626;--font:"Trebuchet MS",Arial,sans-serif;--display:Georgia,serif;--title-weight:400;--title-spacing:-.065em;--card-gap:28px}
[data-theme="peachfizz"] .site-surface{background:radial-gradient(ellipse at 10% 0,#fff0b3,transparent 55%),linear-gradient(140deg,#efba9a,#e8a8ac 65%,#c9b3d0)}
[data-theme="peachfizz"] .gallery-intro em{font-style:italic}
[data-theme="peachfizz"] .project-card{padding:8px}
[data-theme="peachfizz"] .project-visual{border:0;border-radius:13px}
[data-theme="peachfizz"] .visual-ascii{--visual-bg:#eed3ad;--visual-ink:#805837}[data-theme="peachfizz"] .visual-math{--visual-bg:#c2dcd0;--visual-ink:#3a5d4c}[data-theme="peachfizz"] .visual-atom{--visual-bg:#e7c2b8;--visual-ink:#7c4840}
[data-theme="peachfizz"] .card-body h3{font-size:1.85rem}
[data-theme="peachfizz"] .launch-arrow{background:#96523c;color:#fff;border:0}

/* 25 — Lagoon Glass: one deep-water card among translucent panes. */
[data-theme="lagoonglass"]{--page:#c9dce5;--ink:#253e50;--muted:#526878;--accent:#246879;--surface:#edf7f7c9;--line:#a1bec8;--radius:7px 32px 7px 32px;--border:1px solid #ffffffd6;--shadow:0 14px 32px #254e6526;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.05em;--card-gap:30px}
[data-theme="lagoonglass"] .site-surface{background:radial-gradient(ellipse at 50% 70%,#7db7bdc4,transparent 65%),linear-gradient(125deg,#e7f0f5,#b3d5dc)}
[data-theme="lagoonglass"] .project-card{backdrop-filter:blur(20px)}
[data-theme="lagoonglass"] .project-card:nth-child(2){--surface:#174c5b;--ink:#ecf6f5;--muted:#c5e1e4;--accent:#b0ead5;--accent-ink:#163e44;--line:#62979e}
[data-theme="lagoonglass"] .visual-ascii{--visual-bg:#d9e8ee;--visual-ink:#3b6073}[data-theme="lagoonglass"] .visual-math{--visual-bg:#235d6b;--visual-ink:#b5e9db}[data-theme="lagoonglass"] .visual-atom{--visual-bg:#b9d8d5;--visual-ink:#375e5e}
[data-theme="lagoonglass"] .card-body{padding:28px 24px}
[data-theme="lagoonglass"] .gallery-intro em{color:#286c7a}

/* 26 — Sunset Lanterns: bright, tangible cards on a darker dusk. */
[data-theme="sunsetlanterns"]{color-scheme:dark;--page:#513346;--ink:#fff0d7;--muted:#ead2c1;--accent:#ffd096;--accent-ink:#573748;--surface:#fff0d9;--line:#c9917b;--radius:22px;--border:1px solid #ffebbf;--shadow:0 8px 0 #351d3740,0 24px 38px #28132045;--font:"Segoe UI",Arial,sans-serif;--display:Georgia,serif;--title-weight:400;--title-spacing:-.055em;--card-gap:32px}
[data-theme="sunsetlanterns"] .site-surface{background:radial-gradient(ellipse at 0 35%,#cf79576e,transparent 60%),radial-gradient(ellipse at 90% 0,#9b719f77,transparent 60%),linear-gradient(130deg,#5c3644,#3b304f)}
[data-theme="sunsetlanterns"] .project-card{--ink:#57352d;--muted:#75594b;--accent:#985033;--accent-ink:#fff;--line:#cfb094}
[data-theme="sunsetlanterns"] .project-visual{border-bottom:1px solid #dab592}
[data-theme="sunsetlanterns"] .visual-ascii{--visual-bg:#ecc49b;--visual-ink:#724c32}[data-theme="sunsetlanterns"] .visual-math{--visual-bg:#d0d9b7;--visual-ink:#4a5835}[data-theme="sunsetlanterns"] .visual-atom{--visual-bg:#e5baac;--visual-ink:#794b42}
[data-theme="sunsetlanterns"] .gallery-intro em{font-style:italic}
[data-theme="sunsetlanterns"] .card-body{padding:27px}
[data-theme="sunsetlanterns"] .card-body h3{font-size:1.85rem}

/* 27 — Golden Hour: honey, strong paper surfaces, and spacious serif type. */
[data-theme="goldenhour"]{--page:#e1b26c;--ink:#4b3529;--muted:#66503d;--accent:#815427;--surface:#fff7e6;--line:#cda36f;--radius:6px;--border:1px solid #ecd8b5;--shadow:0 18px 32px #704b292b;--font:"Segoe UI",Arial,sans-serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.055em;--card-gap:34px}
[data-theme="goldenhour"] .site-surface{background:radial-gradient(ellipse at 20% 0,#fff2ca,transparent 55%),linear-gradient(135deg,#ecc27d,#d49872 70%,#d7ada4)}
[data-theme="goldenhour"] .project-card{border-top:5px solid #f9e6b1}
[data-theme="goldenhour"] .project-visual{--visual-bg:#e4c292;--visual-ink:#765735;background-image:linear-gradient(135deg,#fff4cc88,transparent)}
[data-theme="goldenhour"] .visual-math{--visual-bg:#c9c9a4;--visual-ink:#555e3e}[data-theme="goldenhour"] .visual-atom{--visual-bg:#e5c6ad;--visual-ink:#745345}
[data-theme="goldenhour"] .card-body{padding:28px}
[data-theme="goldenhour"] .gallery-intro h1{font-size:clamp(2.8rem,4.7vw,4.7rem)}
[data-theme="goldenhour"] .gallery-intro em{font-style:italic}
[data-theme="goldenhour"] .launch-arrow{border:0;font-size:27px}

/* 28 — Synthwave Coast: turquoise and neon coral, with a horizon grid. */
[data-theme="synthcoast"]{color-scheme:dark;--page:#122936;--ink:#e3fff3;--muted:#aed6d1;--accent:#ffb49a;--accent-ink:#142d36;--surface:#163b49;--line:#568e92;--radius:0 28px 0 28px;--border:1px solid #86cebf;--shadow:5px 6px 0 #d87d764f,0 0 24px #4cbbaf18;--font:"Courier New",monospace;--display:"Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:28px}
[data-theme="synthcoast"] .site-surface{background-image:linear-gradient(0deg,#163c4880,transparent 55%),linear-gradient(#6bddbe13 1px,transparent 1px),linear-gradient(90deg,#6bddbe13 1px,transparent 1px),radial-gradient(ellipse at 80% 0,#e69a6955,transparent 55%);background-size:100% 100%,45px 45px,45px 45px,100% 100%}
[data-theme="synthcoast"] .gallery-intro h1{font-style:italic;text-shadow:2px 2px #3e6e73}
[data-theme="synthcoast"] .gallery-intro em{color:#fac4a6;text-shadow:2px 2px #9d6253}
[data-theme="synthcoast"] .visual-ascii{--visual-bg:#5c3a47;--visual-ink:#ffd3b9}[data-theme="synthcoast"] .visual-math{--visual-bg:#134b56;--visual-ink:#a9f6de}[data-theme="synthcoast"] .visual-atom{--visual-bg:#29435a;--visual-ink:#f3dd9e}
[data-theme="synthcoast"] .project-visual{background-image:repeating-linear-gradient(0deg,transparent 0 4px,#071f241c 4px 5px)}
[data-theme="synthcoast"] .card-body h3{font-size:1.8rem}
[data-theme="synthcoast"] .launch-arrow{border-radius:0;border-color:#e0a489}

/* 29 — Neon Circuit: cyan and lime; sharp asymmetry, no purple wash. */
[data-theme="neoncircuit"]{color-scheme:dark;--page:#151f24;--ink:#f1f8e8;--muted:#b7ccc8;--accent:#d7f393;--accent-ink:#152724;--surface:#202e34;--line:#677f80;--radius:2px;--border:1px solid #778f8c;--shadow:5px 5px 0 #071517;--font:"Courier New",monospace;--display:"Arial Black",Arial,sans-serif;--title-weight:900;--title-spacing:-.07em;--card-gap:25px}
[data-theme="neoncircuit"] .gallery-intro{border-bottom:1px solid #587877;margin-bottom:22px}
[data-theme="neoncircuit"] .gallery-intro h1{font-size:clamp(2.5rem,4.4vw,4.2rem)}
[data-theme="neoncircuit"] .gallery-intro em{color:#bdecdf}
[data-theme="neoncircuit"] .project-card{border-top:5px solid #d7f393}
[data-theme="neoncircuit"] .project-card:nth-child(2){border-top-color:#88e6e4}[data-theme="neoncircuit"] .project-card:nth-child(3){border-top-color:#f6bd87}
[data-theme="neoncircuit"] .visual-ascii{--visual-bg:#293b32;--visual-ink:#d7f393}[data-theme="neoncircuit"] .visual-math{--visual-bg:#1d3b43;--visual-ink:#9ae9e6}[data-theme="neoncircuit"] .visual-atom{--visual-bg:#393934;--visual-ink:#f4ce9e}
[data-theme="neoncircuit"] .card-body h3{font-size:1.6rem;letter-spacing:-.04em}
[data-theme="neoncircuit"] .launch-arrow{border-radius:0;background:#d7f393;color:#152724}

/* 30 — Outrun Sunrise: cobalt, orange, and a restrained neon horizon. */
[data-theme="outrunsunrise"]{color-scheme:dark;--page:#1d2948;--ink:#fff1d9;--muted:#d0cfe5;--accent:#ffbf83;--accent-ink:#242b46;--surface:#293651;--line:#84728c;--radius:2px 24px 2px 2px;--border:1px solid #dfac89;--shadow:0 7px 0 #b965692e,0 18px 35px #111e3744;--font:"Trebuchet MS",Arial,sans-serif;--display:"Arial Black",Arial,sans-serif;--title-weight:900;--title-spacing:-.07em;--card-gap:28px}
[data-theme="outrunsunrise"] .site-surface{background:linear-gradient(0deg,#162b4860,transparent 70%),radial-gradient(ellipse at 50% -20%,#f4b575a3,transparent 65%),linear-gradient(130deg,#27395b,#604259 70%,#25364e)}
[data-theme="outrunsunrise"] .gallery-intro h1{font-style:italic;text-shadow:1px 2px #654664,2px 4px #f7b88177}
[data-theme="outrunsunrise"] .project-visual{background-image:repeating-linear-gradient(0deg,transparent 0 14px,#ffe8c20e 14px 15px)}
[data-theme="outrunsunrise"] .visual-ascii{--visual-bg:#795056;--visual-ink:#ffe2b9}[data-theme="outrunsunrise"] .visual-math{--visual-bg:#264867;--visual-ink:#b6e1e6}[data-theme="outrunsunrise"] .visual-atom{--visual-bg:#815738;--visual-ink:#ffeabf}
[data-theme="outrunsunrise"] .card-body h3{font-size:1.65rem}
[data-theme="outrunsunrise"] .card-footer{border-top:2px solid #e0a68199}

/* 31 — Sherbet Club: soft and friendly, with mint and citrus taking the lead. */
[data-theme="sherbet"]{--page:#f2edcd;--ink:#3c4e42;--muted:#5e6b54;--accent:#64752a;--surface:#fffcee;--line:#c9c798;--radius:32px;--border:3px solid #fffef3;--shadow:0 9px 0 #c9ce9d88,0 15px 27px #596c3220;--font:"Trebuchet MS",Arial,sans-serif;--display:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:29px}
[data-theme="sherbet"] .site-surface{background:radial-gradient(ellipse at 90% 15%,#bce4d1aa,transparent 60%),linear-gradient(125deg,#fbefd0,#dfe8c8)}
[data-theme="sherbet"] .gallery-intro h1{text-shadow:3px 3px #fff9e4}
[data-theme="sherbet"] .project-visual{margin:10px 10px 0;border-radius:22px;border:0}
[data-theme="sherbet"] .visual-ascii{--visual-bg:#f4da8f;--visual-ink:#795e29}[data-theme="sherbet"] .visual-math{--visual-bg:#afdcce;--visual-ink:#315e53}[data-theme="sherbet"] .visual-atom{--visual-bg:#eebc94;--visual-ink:#7c4d2e}
[data-theme="sherbet"] .launch-arrow{background:#6b7d3a;color:white;border:0;width:36px;height:36px}
[data-theme="sherbet"] .card-body h3{font-size:1.8rem}

/* 32 — Jellybean Studio: three cheerful blocks of color, generous curves. */
[data-theme="jellybean"]{--page:#e6eef0;--ink:#334852;--muted:#536c72;--accent:#38697a;--surface:#fbfcf6;--line:#a6bec2;--radius:40px 40px 16px 16px;--border:3px solid #fffef4;--shadow:0 10px 0 #8faeb65c;--font:"Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.065em;--card-gap:30px}
[data-theme="jellybean"] .gallery-intro em{color:#aa593b;text-decoration:underline;text-decoration-color:#e8c790;text-decoration-thickness:6px;text-underline-offset:5px}
[data-theme="jellybean"] .project-card:nth-child(2){--surface:#e5efe0;--line:#a5c099;box-shadow:0 10px 0 #9cba8b78}[data-theme="jellybean"] .project-card:nth-child(3){--surface:#ffefdf;--line:#d5b097;box-shadow:0 10px 0 #d4a88788}
[data-theme="jellybean"] .visual-ascii{--visual-bg:#a6c9d8;--visual-ink:#33596b}[data-theme="jellybean"] .visual-math{--visual-bg:#c0d9a7;--visual-ink:#486038}[data-theme="jellybean"] .visual-atom{--visual-bg:#edb68d;--visual-ink:#774d35}
[data-theme="jellybean"] .card-body{padding:27px}
[data-theme="jellybean"] .launch-arrow{width:41px;height:32px;border-radius:20px;background:#fff9e9}

/* 33 — Porcelain Glow: milky glass, polished corners, darker jeweled previews. */
[data-theme="porcelain"]{--page:#ecf0ef;--ink:#3b4855;--muted:#626e7b;--accent:#496c76;--surface:#fffffff0;--line:#d3dbdf;--radius:28px;--border:1px solid white;--shadow:8px 10px 28px #6a7b8e22,-5px -5px 18px #ffffffb3;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.05em;--card-gap:30px}
[data-theme="porcelain"] .site-surface{background:radial-gradient(ellipse at 0 20%,#dfcadca0,transparent 50%),radial-gradient(ellipse at 100% 85%,#b5d8cca0,transparent 60%),#eef1ef}
[data-theme="porcelain"] .project-card{padding:12px}
[data-theme="porcelain"] .project-visual{border:0;border-radius:19px;box-shadow:inset 0 2px 7px #122f3820}
[data-theme="porcelain"] .visual-ascii{--visual-bg:#668896;--visual-ink:#f0faf4}[data-theme="porcelain"] .visual-math{--visual-bg:#587e71;--visual-ink:#f0f8e9}[data-theme="porcelain"] .visual-atom{--visual-bg:#9b7869;--visual-ink:#fff5e4}
[data-theme="porcelain"] .card-body{padding:23px 13px 12px}
[data-theme="porcelain"] .launch-arrow{border:0;box-shadow:2px 2px 5px #7282892b,-2px -2px 5px #fff;background:#f3f6f7}

/* 34 — Painted Cosmos: art material meets the subject of the projects. */
[data-theme="paintedcosmos"]{color-scheme:dark;--page:#17252c;--ink:#f5e6c8;--muted:#e5d6b9;--accent:#f0cd92;--accent-ink:#17252c;--surface:#f3e8d1;--line:#ad9365;--radius:2px;--border:6px double #b59b67;--shadow:0 0 0 2px #4a493a,0 12px 24px #05151d66;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.045em;--card-gap:32px}
[data-theme="paintedcosmos"] .site-surface{background:linear-gradient(#11212d55,#12202999),url('/assets/nebula.png') center/cover fixed}
[data-theme="paintedcosmos"] .site-header{border-bottom:3px double #e0c68c88}
[data-theme="paintedcosmos"] .gallery-intro h1{font-style:italic;text-shadow:0 3px 15px #061920}
[data-theme="paintedcosmos"] .intro-copy{padding:12px 15px;background:#11252ebf;border:1px solid #d9bd843d}
[data-theme="paintedcosmos"] .project-card{--ink:#38372b;--muted:#625c48;--accent:#755a2b;--accent-ink:#fff9e8;--line:#baa775}
[data-theme="paintedcosmos"] .project-visual{background-image:linear-gradient(#e7d7b59e,#e7d7b59e),url('/assets/nebula.png');background-size:cover;background-blend-mode:soft-light;border-bottom:4px double #9f895d}
[data-theme="paintedcosmos"] .visual-ascii{--visual-bg:#d4c5a4;--visual-ink:#554936}[data-theme="paintedcosmos"] .visual-math{--visual-bg:#c4d0bb;--visual-ink:#394f43}[data-theme="paintedcosmos"] .visual-atom{--visual-bg:#c3cacf;--visual-ink:#435561}
[data-theme="paintedcosmos"] .card-body h3{text-align:center;font-size:1.85rem}
[data-theme="paintedcosmos"] .collection-heading{background:#11252ebf;padding:10px 13px;margin-bottom:16px;border:1px solid #d9bd8450}
[data-theme="paintedcosmos"] .site-footer{background:#11252ebf;padding:18px 20px;border:1px solid #d9bd8450}

/* 35 — Pigment & Paper: painterly surfaces without a landscape-led identity. */
[data-theme="pigment"]{--page:#e9dfc9;--ink:#373f3f;--muted:#65685a;--accent:#98543a;--surface:#f8f1df;--line:#baad90;--radius:1px;--border:1px solid #c3b391;--shadow:5px 6px 0 #ad9d783b;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.045em;--card-gap:30px}
[data-theme="pigment"] .site-surface{background-image:linear-gradient(#e9dfc9eb,#e9dfc9eb),url('/assets/canvas-landscape.png');background-size:cover}
[data-theme="pigment"] .gallery-intro em{font-style:italic;color:#365e71}
[data-theme="pigment"] .project-card{padding:12px;overflow:visible}
[data-theme="pigment"] .project-visual{border:0;border-radius:1px;background-image:linear-gradient(120deg,#ffffff1f,transparent),url('/assets/canvas-landscape.png');background-blend-mode:normal,soft-light;background-size:cover}
[data-theme="pigment"] .visual-ascii{--visual-bg:#bf914d;--visual-ink:#302e21}[data-theme="pigment"] .visual-math{--visual-bg:#2f556a;--visual-ink:#f5ead2}[data-theme="pigment"] .visual-atom{--visual-bg:#a45d45;--visual-ink:#fff0d4}
[data-theme="pigment"] .card-body{padding:24px 8px 10px}
[data-theme="pigment"] .project-card:nth-child(1){transform:rotate(-.6deg)}[data-theme="pigment"] .project-card:nth-child(3){transform:rotate(.6deg)}
[data-theme="pigment"] .project-card:hover{transform:translateY(-5px) rotate(0)}
[data-theme="pigment"] .launch-arrow{border:0}

/* 36 — Starfield & Nebula: atmospheric artwork, opaque readable instruments. */
[data-theme="nebula"]{color-scheme:dark;--page:#071b2a;--ink:#f0f9ff;--muted:#c0d5e1;--accent:#ffda9b;--accent-ink:#102637;--surface:#102c3de8;--line:#558293;--radius:14px;--border:1px solid #75b2bc;--shadow:0 0 0 1px #77c6d51a,0 18px 36px #020d1b80;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.045em;--card-gap:28px}
[data-theme="nebula"] .site-surface{background:linear-gradient(#04172452,#04172499),url('/assets/nebula.png') center/cover fixed}
[data-theme="nebula"] .gallery-intro h1{text-shadow:0 2px 12px #061827}
[data-theme="nebula"] .gallery-intro em{color:#b6eee5}
[data-theme="nebula"] .project-card{backdrop-filter:blur(20px);border-top:2px solid #a0ddd7}
[data-theme="nebula"] .visual-ascii{--visual-bg:#173949;--visual-ink:#b0eee0}[data-theme="nebula"] .visual-math{--visual-bg:#182e47;--visual-ink:#badcfb}[data-theme="nebula"] .visual-atom{--visual-bg:#3a3934;--visual-ink:#ffe0a9}
[data-theme="nebula"] .project-visual{background-image:radial-gradient(ellipse at center,#ffffff07,transparent 65%)}
[data-theme="nebula"] .intro-copy{background:#062032c9;padding:12px 15px;border-radius:8px}
[data-theme="nebula"] .collection-heading{background:#062032bd;padding:8px 12px;margin-bottom:15px;border-radius:5px}
[data-theme="nebula"] .card-body h3{font-size:1.85rem}
[data-theme="nebula"] .site-footer{background:#062032bd;padding:15px 18px;border-radius:8px}

/* 37 — Time Warp: static optical geometry; no looping motion or flashing. */
[data-theme="timewarp"]{color-scheme:dark;--page:#28233f;--ink:#f7efde;--muted:#ddcfee;--accent:#e2c394;--accent-ink:#342548;--surface:#f4ecd9;--line:#a39bb9;--radius:3px 30px 3px 30px;--border:2px solid #e5d6fa;--shadow:7px 8px 0 #493667,13px 14px 0 #a68d9c66;--font:"Trebuchet MS",Arial,sans-serif;--display:"Arial Black",Arial,sans-serif;--title-weight:900;--title-spacing:-.07em;--card-gap:33px}
[data-theme="timewarp"] .site-surface{background:repeating-radial-gradient(ellipse at 85% 15%,#46365c 0 18px,#9a71834d 18px 21px,#252d47 21px 43px);padding-bottom:1px}
[data-theme="timewarp"] .gallery-intro{background:#20273de8;padding:24px;margin-block:24px;transform:skewX(-2deg);border-left:5px solid #d6ab99}
[data-theme="timewarp"] .gallery-intro>*{transform:skewX(2deg)}
[data-theme="timewarp"] .gallery-intro h1{font-size:clamp(2.6rem,4.2vw,4.2rem);font-style:italic;text-shadow:3px 3px #a78198,6px 6px #52446c}
[data-theme="timewarp"] .project-card{--ink:#3a344b;--muted:#696075;--accent:#655071;--accent-ink:#fff7e1;--line:#bcb0c5}
[data-theme="timewarp"] .project-card:nth-child(2){border-radius:30px 3px 30px 3px}
[data-theme="timewarp"] .visual-ascii{--visual-bg:#bdacd3;--visual-ink:#503d65}[data-theme="timewarp"] .visual-math{--visual-bg:#92bfbd;--visual-ink:#33595c}[data-theme="timewarp"] .visual-atom{--visual-bg:#e3bb95;--visual-ink:#725039}
[data-theme="timewarp"] .project-visual{background-image:repeating-radial-gradient(ellipse at 80% 30%,transparent 0 25px,#ffffff23 25px 26px)}
[data-theme="timewarp"] .collection-heading{background:#20273de8;padding:9px 15px;margin-bottom:18px}
[data-theme="timewarp"] .card-body h3{font-size:1.65rem}
[data-theme="timewarp"] .site-header,[data-theme="timewarp"] .site-footer{background:#20273deb;padding-inline:20px}
[data-theme="timewarp"] .launch-arrow{border-radius:0;transform:skew(-8deg)}

/* 38 — Fruit: tactile citrus artwork, mint, lemon, and berry-sized red accents. */
[data-theme="fruit"]{--page:#e5f0dd;--ink:#33523d;--muted:#526b4f;--accent:#916019;--surface:#fffdf0;--line:#b4c690;--radius:38px 38px 18px 18px;--border:3px solid #fffff3;--shadow:0 9px 0 #a5bd7d70,0 18px 30px #395b3820;--font:"Trebuchet MS",Arial,sans-serif;--display:"Arial Rounded MT Bold","Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:30px}
[data-theme="fruit"] .site-surface{background:linear-gradient(#e5f0dd10,#e5f0dd99 70%),url('/assets/fruit.png') center top/cover no-repeat,#e5f0dd}
[data-theme="fruit"] .site-header{border-bottom-color:#76975599;background:#eff6e5d9;padding-inline:20px}
[data-theme="fruit"] .gallery-intro{min-height:225px;padding:32px 20px;margin-block:22px;background:linear-gradient(#f5f8e629,#f5f8e647),url('/assets/fruit.png') center 55%/cover;border-radius:25px;border:1px solid #fffff4b3}
[data-theme="fruit"] .intro-title,[data-theme="fruit"] .intro-copy{background:#f5f8e6eb;padding:15px 18px;border-radius:14px}
[data-theme="fruit"] .gallery-intro h1{text-shadow:2px 3px #fffced}
[data-theme="fruit"] .gallery-intro em{color:#a45c27}
[data-theme="fruit"] .project-visual{margin:10px 10px 0;border:0;border-radius:25px}
[data-theme="fruit"] .visual-ascii{--visual-bg:#f0c365;--visual-ink:#725019}[data-theme="fruit"] .visual-math{--visual-bg:#bbd899;--visual-ink:#46642e}[data-theme="fruit"] .visual-atom{--visual-bg:#adbfd6;--visual-ink:#3e536f}
[data-theme="fruit"] .collection-heading{background:#f5f8e6f0;padding:9px 14px;margin-bottom:16px;border-radius:10px}
[data-theme="fruit"] .launch-arrow{background:#a05431;color:#fff;border:0;width:36px;height:36px}
[data-theme="fruit"] .site-footer{background:#f5f8e6e8;padding:18px 20px;border-radius:15px}

/* 39 — Cozy Fireplace & Math: a chalkboard study and warm paper cards. */
[data-theme="hearth"]{color-scheme:dark;--page:#2c3026;--ink:#f7e8c8;--muted:#e7d4b5;--accent:#f2c084;--accent-ink:#343528;--surface:#f0e4c8;--line:#b19a71;--radius:4px;--border:1px solid #d0ba8b;--shadow:4px 5px 0 #241e1880,0 20px 30px #0e160d66;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.04em;--card-gap:32px}
[data-theme="hearth"] .site-surface{background:linear-gradient(#151e1770,#172019ac),url('/assets/hearth.png') center 40%/cover fixed}
[data-theme="hearth"] .gallery-intro h1{font-style:italic;text-shadow:0 2px 10px #111a10}
[data-theme="hearth"] .intro-copy{background:#222b1ed9;padding:12px 16px;border:1px solid #bba17877;border-radius:3px}
[data-theme="hearth"] .project-card{--ink:#383e2d;--muted:#606447;--accent:#795b34;--accent-ink:#fff9e8;--line:#b6aa87}
[data-theme="hearth"] .project-visual{border-bottom:5px solid #8c704d}
[data-theme="hearth"] .visual-ascii{--visual-bg:#3d4b37;--visual-ink:#f0ddb8}[data-theme="hearth"] .visual-math{--visual-bg:#284b40;--visual-ink:#e9eccf}[data-theme="hearth"] .visual-atom{--visual-bg:#6a5036;--visual-ink:#ffe3b9}
[data-theme="hearth"] .ascii-art{font-weight:400}
[data-theme="hearth"] .collection-heading{background:#222b1ee0;padding:10px 14px;margin-bottom:17px;border:1px solid #bba17877}
[data-theme="hearth"] .card-body h3{font-size:1.85rem}
[data-theme="hearth"] .site-footer{background:#222b1ee0;padding:18px 20px;border:1px solid #bba17877}
@media(min-width:1101px){[data-theme="hearth"] .project-grid,[data-theme="hearth"] .collection-heading{margin-left:22%}[data-theme="hearth"] .card-body{padding:23px 18px}[data-theme="hearth"] .card-body h3{font-size:1.65rem}}

/* 40 — Loom: interleaved geometric threads and stitched card edges. */
[data-theme="loom"]{--page:#e4dcc8;--ink:#394846;--muted:#5d6d64;--accent:#875133;--surface:#f9f0de;--line:#a69c7e;--radius:3px;--border:1px solid #bfb08b;--shadow:4px 5px 0 #897e573d;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.045em;--card-gap:34px}
[data-theme="loom"] .site-surface{background-color:#e4dcc8;background-image:repeating-linear-gradient(0deg,transparent 0 7px,#516e6829 7px 9px,transparent 9px 21px,#af744a21 21px 23px),repeating-linear-gradient(90deg,transparent 0 7px,#627c6629 7px 9px,transparent 9px 21px,#a0694321 21px 23px)}
[data-theme="loom"] .site-header{background:#ebe4d0ed;padding-inline:18px;border-block:2px dashed #8b9a80}
[data-theme="loom"] .gallery-intro{background:#ebe4d0ed;padding:28px 22px;margin-block:24px;border-left:5px solid #799389}
[data-theme="loom"] .gallery-intro em{font-style:italic}
[data-theme="loom"] .project-card{outline:2px dashed #ac9b73;outline-offset:-7px;padding:12px;overflow:visible}
[data-theme="loom"] .project-visual{border:0;background-image:repeating-linear-gradient(0deg,transparent 0 3px,#ffffff29 3px 4px),repeating-linear-gradient(90deg,transparent 0 3px,#0000000c 3px 4px)}
[data-theme="loom"] .visual-ascii{--visual-bg:#bb9770;--visual-ink:#41362c}[data-theme="loom"] .visual-math{--visual-bg:#91afa1;--visual-ink:#314e43}[data-theme="loom"] .visual-atom{--visual-bg:#b6bac6;--visual-ink:#424b64}
[data-theme="loom"] .card-body{padding:24px 10px 14px}
[data-theme="loom"] .card-footer{border-top:2px dashed #ac9b73}
[data-theme="loom"] .collection-heading{background:#ebe4d0ed;padding:8px 13px;margin-bottom:16px}
[data-theme="loom"] .site-footer{background:#ebe4d0ed;padding:18px 20px;border-top:2px dashed #8b9a80}

/* Keep expressive shapes, image backgrounds, and copy usable on smaller screens. */
@media(min-width:801px){[data-theme="timewarp"] .project-card:nth-child(1){transform:rotate(-1.4deg)}[data-theme="timewarp"] .project-card:nth-child(2){transform:translateY(12px)}[data-theme="timewarp"] .project-card:nth-child(3){transform:rotate(1.4deg)}[data-theme="timewarp"] .project-card:hover{transform:translateY(-5px)}}
@media(max-width:1100px){[data-theme="timewarp"] .gallery-intro{display:block}[data-theme="timewarp"] .intro-copy{max-width:none;margin-top:17px}[data-theme="paintedcosmos"] .gallery-intro,[data-theme="hearth"] .gallery-intro,[data-theme="nebula"] .gallery-intro{align-items:center}}
@media(max-width:800px){[data-theme="paintedcosmos"] .project-card:last-child,[data-theme="hearth"] .project-card:last-child{display:flex;grid-column:auto}[data-theme="paintedcosmos"] .project-card:last-child .project-visual,[data-theme="hearth"] .project-card:last-child .project-visual{height:var(--visual-height);min-height:0;border-right:0}[data-theme="paintedcosmos"] .project-card:last-child .project-visual{border-bottom:4px double #9f895d}[data-theme="hearth"] .project-card:last-child .project-visual{border-bottom:5px solid #8c704d}[data-theme="fruit"] .gallery-intro{padding:24px 18px}[data-theme="pigment"] .project-card{transform:none!important}[data-theme="timewarp"] .gallery-intro,[data-theme="timewarp"] .gallery-intro>*{transform:none}}
@media(max-width:540px){[data-theme="miamidaybreak"] .gallery-intro h1,[data-theme="outrunsunrise"] .gallery-intro h1,[data-theme="neoncircuit"] .gallery-intro h1,[data-theme="timewarp"] .gallery-intro h1{font-size:2.5rem}[data-theme="goldenhour"] .gallery-intro h1{font-size:2.7rem}[data-theme="paintedcosmos"] .site-surface,[data-theme="nebula"] .site-surface,[data-theme="hearth"] .site-surface{background-attachment:scroll}[data-theme="fruit"] .site-surface{background-size:auto 900px;background-position:center top}[data-theme="timewarp"] .gallery-intro,[data-theme="loom"] .gallery-intro{padding:22px 16px}[data-theme="timewarp"] .gallery-intro h1{font-size:2.25rem}[data-theme="loom"] .site-header,[data-theme="fruit"] .site-header{padding-inline:12px}}
@media(forced-colors:active){[data-theme] .site-surface,[data-theme] .project-card,[data-theme] .project-visual,[data-theme] .site-header,[data-theme] .site-footer,[data-theme] .gallery-intro,[data-theme] .intro-copy,[data-theme] .collection-heading{background:Canvas!important;color:CanvasText!important;box-shadow:none!important;border-color:CanvasText!important;transform:none!important}[data-theme] .gallery-intro h1,[data-theme] .gallery-intro em{text-shadow:none!important;color:CanvasText!important}[data-theme] .project-card{outline:none!important}[data-theme] .launch-arrow{background:Canvas!important;color:CanvasText!important}}
