/* ROUND THREE — 41–60. Glass, depth, calm asymmetry, and atmosphere. */
:where([data-round="3"]) .site-surface{background:var(--r3-background,var(--page));background-size:cover;background-position:center;background-attachment:var(--r3-attachment,scroll)}
:where([data-round="3"]) .project-card{padding:10px;position:relative}
:where([data-round="3"]) .project-visual{border:1px solid var(--r3-rim,#ffffff33);border-radius:18px;box-shadow:inset 0 1px 0 #ffffff24,0 3px 7px #081b2421}
:where([data-round="3"]) .card-body{padding:24px 15px 14px}
:where([data-round="3"]) .card-body h3{font-size:1.8rem}
:where([data-round="3"]) .launch-arrow{border:0;box-shadow:inset 0 1px 0 #ffffff44,0 2px 5px #10253220}

/* 41 — Poolside Porcelain: the pool palette, with much deeper image contrast. */
[data-theme="poolsideporcelain"]{--page:#d9eeea;--ink:#27464b;--muted:#506b6d;--accent:#975337;--surface:#ffffffcc;--line:#bad5d2;--radius:28px;--border:1px solid #fff;--shadow:inset 0 1px 0 #fff,0 16px 32px #315f6026;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.055em;--card-gap:30px;--r3-background:radial-gradient(ellipse at 95% 10%,#f8d7b6,transparent 55%),radial-gradient(ellipse at 0 90%,#a4d8d6,transparent 60%),#d9eeea}
[data-theme="poolsideporcelain"] .project-card{backdrop-filter:blur(22px)}
[data-theme="poolsideporcelain"] .visual-ascii{--visual-bg:#285b67;--visual-ink:#d8f7ee}[data-theme="poolsideporcelain"] .visual-math{--visual-bg:#2b466b;--visual-ink:#e3edff}[data-theme="poolsideporcelain"] .visual-atom{--visual-bg:#8a5e46;--visual-ink:#fff0d3}
[data-theme="poolsideporcelain"] .project-visual{background-image:linear-gradient(135deg,#ffffff12,transparent 55%,#071c321a)}
[data-theme="poolsideporcelain"] .gallery-intro em{color:#397f83;font-style:italic}
[data-theme="poolsideporcelain"] .launch-arrow{background:#e4f0ed}

/* 42 — Lagoon Lens: cut-glass edges with darker framed panels. */
[data-theme="lagoonlens"]{--page:#bedae0;--ink:#234453;--muted:#506c77;--accent:#866143;--surface:#f1faf8b8;--line:#a0c4cc;--radius:8px 34px 8px 34px;--border:1px solid #ffffffed;--shadow:inset 1px 1px 0 #fff8,inset -1px -1px 0 #4e849129,0 18px 33px #29566733;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.055em;--card-gap:32px;--r3-background:radial-gradient(ellipse at 60% 80%,#71b3b8a3,transparent 60%),linear-gradient(130deg,#dfedef,#aacfd9)}
[data-theme="lagoonlens"] .project-card{backdrop-filter:blur(24px);padding:12px}
[data-theme="lagoonlens"] .project-visual{border-radius:4px 24px 4px 24px;border:4px double #d8f2ef69}
[data-theme="lagoonlens"] .visual-ascii{--visual-bg:#225966;--visual-ink:#ceeee4}[data-theme="lagoonlens"] .visual-math{--visual-bg:#254666;--visual-ink:#cbdff8}[data-theme="lagoonlens"] .visual-atom{--visual-bg:#6b6650;--visual-ink:#fff0bd}
[data-theme="lagoonlens"] .card-body{padding:25px 14px 13px}
[data-theme="lagoonlens"] .launch-arrow{background:#d5e9e5;color:#2f6372}

/* 43 — Nebula Glass: smoky translucent cards over the existing starfield. */
[data-theme="nebulaglass"]{color-scheme:dark;--page:#0c2233;--ink:#ecf8ff;--muted:#c0d9e3;--accent:#b7f1e7;--accent-ink:#173b49;--surface:linear-gradient(145deg,#a5d7e32e,#082234a3);--line:#85bccc59;--radius:28px;--border:1px solid #9ec9d785;--shadow:inset 0 1px 0 #ebffff80,inset 0 -1px 0 #9fccdb26,0 18px 40px #010f1e70;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.045em;--card-gap:28px;--r3-background:linear-gradient(#051b303b,#04172d66),url('/assets/nebula.png');--r3-attachment:fixed}
[data-theme="nebulaglass"] .project-card{backdrop-filter:blur(18px) saturate(125%)}
[data-theme="nebulaglass"] .card-body{background:#06243a87;margin-top:10px;border-radius:18px;padding:23px 17px 16px}
[data-theme="nebulaglass"] .visual-ascii{--visual-bg:#2350679c;--visual-ink:#d0ffed}[data-theme="nebulaglass"] .visual-math{--visual-bg:#243e669c;--visual-ink:#d4e5ff}[data-theme="nebulaglass"] .visual-atom{--visual-bg:#6451399c;--visual-ink:#ffe7b0}
[data-theme="nebulaglass"] .project-visual{background-image:linear-gradient(135deg,#ffffff12,transparent);border-color:#aedfed5c}
[data-theme="nebulaglass"] .intro-copy{background:#062238b8;padding:12px 16px;border-radius:16px}
[data-theme="nebulaglass"] .collection-heading,[data-theme="nebulaglass"] .site-footer{background:#08253ba6;padding:12px 16px;border-radius:12px}
[data-theme="nebulaglass"] .collection-heading{margin-bottom:16px}
[data-theme="nebulaglass"] .gallery-intro h1{text-shadow:0 3px 14px #02131e}
[data-theme="nebulaglass"] .launch-arrow{background:#aad2e42b}

/* 44 — Starlight Prism: light frosted cards against dark cosmic depth. */
[data-theme="starlightprism"]{color-scheme:dark;--page:#142d3b;--ink:#f2f5ec;--muted:#d9e3df;--accent:#f0dab4;--accent-ink:#234453;--surface:linear-gradient(145deg,#f5fbffe8,#d6e7ecda);--line:#8aabbb;--radius:32px;--border:1px solid #f2fcff;--shadow:inset 0 2px 0 white,0 0 0 3px #9ad9e52e,0 18px 36px #0115267a;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.05em;--card-gap:32px;--r3-background:linear-gradient(#112d3c55,#11253877),url('/assets/nebula.png');--r3-attachment:fixed}
[data-theme="starlightprism"] .project-card{--ink:#294756;--muted:#516775;--accent:#466f80;--accent-ink:white;--line:#a6bdc7;backdrop-filter:blur(25px)}
[data-theme="starlightprism"] .visual-ascii{--visual-bg:#2f6378;--visual-ink:#e3f9ec}[data-theme="starlightprism"] .visual-math{--visual-bg:#42557c;--visual-ink:#eff1ff}[data-theme="starlightprism"] .visual-atom{--visual-bg:#796952;--visual-ink:#fff3d4}
[data-theme="starlightprism"] .project-visual{border:2px solid #d4edf2;border-radius:23px;background-image:linear-gradient(120deg,#f0ffd525,transparent 45%,#a8baff21)}
[data-theme="starlightprism"] .intro-copy{background:#0d2a3bbf;padding:12px 16px;border-radius:16px}
[data-theme="starlightprism"] .collection-heading,[data-theme="starlightprism"] .site-footer{background:#0d2a3bbf;padding:12px 16px;border-radius:10px}
[data-theme="starlightprism"] .collection-heading{margin-bottom:18px}
[data-theme="starlightprism"] .launch-arrow{background:linear-gradient(130deg,#f7ffe8,#ccdfed)}

/* 45 — Orbital Atelier: warm glazed paper and painterly cosmic thumbnails. */
[data-theme="orbitalatelier"]{color-scheme:dark;--page:#1a2c32;--ink:#f8eaca;--muted:#e1d5bc;--accent:#f0d4a1;--accent-ink:#273e43;--surface:linear-gradient(140deg,#fff2dfeF,#dfceb1f2);--line:#b59d78;--radius:23px;--border:1px solid #eed7b2;--shadow:inset 0 2px 0 #fff7df,0 6px 0 #6e675c40,0 18px 30px #01171c77;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.045em;--card-gap:30px;--r3-background:linear-gradient(#11282d7a,#10222a99),url('/assets/nebula.png');--r3-attachment:fixed}
[data-theme="orbitalatelier"] .project-card{--ink:#3e4137;--muted:#616451;--accent:#7d5930;--accent-ink:#fff8e9;--line:#bfb18e;backdrop-filter:blur(14px)}
[data-theme="orbitalatelier"] .project-visual{border:4px double #ebd6ac99;background-image:linear-gradient(135deg,#ffffff18,#07182926),url('/assets/nebula.png');background-size:cover;background-blend-mode:normal,soft-light}
[data-theme="orbitalatelier"] .visual-ascii{--visual-bg:#6e634b;--visual-ink:#fff2d3}[data-theme="orbitalatelier"] .visual-math{--visual-bg:#3a625c;--visual-ink:#e4f0d6}[data-theme="orbitalatelier"] .visual-atom{--visual-bg:#465f71;--visual-ink:#f3e9d2}
[data-theme="orbitalatelier"] .gallery-intro em{font-style:italic}
[data-theme="orbitalatelier"] .intro-copy,[data-theme="orbitalatelier"] .collection-heading,[data-theme="orbitalatelier"] .site-footer{background:#102c35c9;padding:12px 16px;border-radius:13px}
[data-theme="orbitalatelier"] .collection-heading{margin-bottom:18px}
[data-theme="orbitalatelier"] .card-body h3{font-size:1.9rem}

/* 46 — Pigment Glaze: soft paper outside, lustrous saturated pigment inside. */
[data-theme="pigmentglaze"]{--page:#e6dfcd;--ink:#384440;--muted:#606b5e;--accent:#8c583b;--surface:linear-gradient(145deg,#fff8e7,#e9dec6);--line:#c0b496;--radius:22px;--border:1px solid #fff8e0;--shadow:inset 0 2px 0 #fffbee,0 7px 0 #9e8e652b,0 18px 30px #66573724;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.05em;--card-gap:31px;--r3-background:linear-gradient(#e6dfcdeb,#e6dfcdeb),url('/assets/canvas-landscape.png')}
[data-theme="pigmentglaze"] .gallery-intro em{color:#406a73;font-style:italic}
[data-theme="pigmentglaze"] .project-visual{background-image:linear-gradient(135deg,#ffffff35,transparent 40%,#13232430),url('/assets/canvas-landscape.png');background-size:cover;background-blend-mode:normal,soft-light;box-shadow:inset 0 2px 1px #ffffff59,inset 0 -4px 8px #05172a44}
[data-theme="pigmentglaze"] .visual-ascii{--visual-bg:#875a35;--visual-ink:#fff1c9}[data-theme="pigmentglaze"] .visual-math{--visual-bg:#294f65;--visual-ink:#e2f2ed}[data-theme="pigmentglaze"] .visual-atom{--visual-bg:#925140;--visual-ink:#fff0d9}
[data-theme="pigmentglaze"] .launch-arrow{background:#f2e4c7;border:1px solid #bfa982}

/* 47 — Paper Constellations: subtle texture, large serif type, soft corners. */
[data-theme="paperconstellations"]{--page:#e7e8d8;--ink:#344c49;--muted:#596d61;--accent:#82613a;--surface:#fff8e6ed;--line:#b2bea6;--radius:16px;--border:1px solid #fff9e7;--shadow:0 7px 0 #8a9a7b24,0 18px 30px #425a4321;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.05em;--card-gap:33px;--r3-background:linear-gradient(#e7e8d8ed,#e7e8d8ed),url('/assets/nebula.png')}
[data-theme="paperconstellations"] .project-visual{background-image:linear-gradient(#ffffff10,#091d2130),url('/assets/nebula.png');background-size:cover;background-blend-mode:normal,soft-light;border-radius:10px}
[data-theme="paperconstellations"] .visual-ascii{--visual-bg:#4d7564;--visual-ink:#eef4d4}[data-theme="paperconstellations"] .visual-math{--visual-bg:#34566b;--visual-ink:#d8f0f3}[data-theme="paperconstellations"] .visual-atom{--visual-bg:#8a7552;--visual-ink:#fff0d0}
[data-theme="paperconstellations"] .gallery-intro em{font-style:italic}
[data-theme="paperconstellations"] .card-body h3{font-size:1.9rem}
[data-theme="paperconstellations"] .launch-arrow{background:#e4e9d5}

/* 48 — Tilted Daydream: all the playful tilt, none of the optical tunnel. */
[data-theme="tilteddaydream"]{--page:#f1eddd;--ink:#3e504b;--muted:#657160;--accent:#a05c3c;--surface:#fffcf0;--line:#c4c6ab;--radius:24px;--border:2px solid #fffef4;--shadow:5px 7px 0 #b8c5a763,0 16px 25px #53634b1c;--font:"Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:36px;--r3-background:linear-gradient(130deg,#f4efdd,#e4eddf)}
[data-theme="tilteddaydream"] .gallery-intro em{color:#4b8587;text-shadow:2px 3px #fff8da}
[data-theme="tilteddaydream"] .visual-ascii{--visual-bg:#ac895d;--visual-ink:#fff8dd}[data-theme="tilteddaydream"] .visual-math{--visual-bg:#487c78;--visual-ink:#e7fff0}[data-theme="tilteddaydream"] .visual-atom{--visual-bg:#6b7494;--visual-ink:#f9f0ff}
[data-theme="tilteddaydream"] .project-card:nth-child(2){box-shadow:5px 7px 0 #80b2ab63,0 16px 25px #53634b1c}
[data-theme="tilteddaydream"] .launch-arrow{background:#e8eed5}

/* 49 — Floating Postcards: lucid glass and colored images on quiet blue. */
[data-theme="floatingpostcards"]{--page:#d8e9e8;--ink:#2d5056;--muted:#597275;--accent:#976c44;--surface:#fbfffde0;--line:#b5d1d0;--radius:8px;--border:1px solid #fff;--shadow:0 5px 0 #98b8b926,0 20px 36px #23495329;--font:"Segoe UI",Arial,sans-serif;--display:Georgia,serif;--title-weight:400;--title-spacing:-.055em;--card-gap:37px;--r3-background:radial-gradient(ellipse at 85% 0,#f5e7c9,transparent 60%),#d8e9e8}
[data-theme="floatingpostcards"] .project-card{padding:13px;backdrop-filter:blur(18px)}
[data-theme="floatingpostcards"] .project-visual{border-radius:3px}
[data-theme="floatingpostcards"] .visual-ascii{--visual-bg:#3b6976;--visual-ink:#e8f7ee}[data-theme="floatingpostcards"] .visual-math{--visual-bg:#405d82;--visual-ink:#e5eeff}[data-theme="floatingpostcards"] .visual-atom{--visual-bg:#97744f;--visual-ink:#fff4cf}
[data-theme="floatingpostcards"] .gallery-intro em{font-style:italic;color:#307c81}
[data-theme="floatingpostcards"] .card-body{padding:25px 8px 8px}
[data-theme="floatingpostcards"] .launch-arrow{background:#edf3e5}

/* 50 — Fireside Glass: rounded and tactile, warm parchment suspended in glass. */
[data-theme="firesideglass"]{color-scheme:dark;--page:#2b352a;--ink:#fff0d3;--muted:#e7d8bd;--accent:#f8d5a3;--accent-ink:#314132;--surface:linear-gradient(145deg,#fff2daeF,#e5d4b4ed);--line:#c4ae88;--radius:30px;--border:1px solid #f5dfbcb8;--shadow:inset 0 2px 0 #fff9e799,0 6px 12px #11180e3b,0 22px 40px #08110b70;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.045em;--card-gap:30px;--r3-background:linear-gradient(#17241859,#17241885),url('/assets/hearth.png');--r3-attachment:fixed}
[data-theme="firesideglass"] .project-card{--ink:#3c4935;--muted:#626b51;--accent:#8a623d;--accent-ink:#fff8e8;--line:#b9b08c;backdrop-filter:blur(18px);padding:12px}
[data-theme="firesideglass"] .project-visual{border-radius:21px;background-image:linear-gradient(135deg,#fbd8a521,transparent 60%);box-shadow:inset 0 2px 2px #ffffff2b,inset 0 -5px 9px #1726144d,0 3px 6px #372b1921}
[data-theme="firesideglass"] .visual-ascii{--visual-bg:#516244;--visual-ink:#f7ebc8}[data-theme="firesideglass"] .visual-math{--visual-bg:#305f50;--visual-ink:#e4f6d4}[data-theme="firesideglass"] .visual-atom{--visual-bg:#80613e;--visual-ink:#ffedc7}
[data-theme="firesideglass"] .gallery-intro em{font-style:italic}
[data-theme="firesideglass"] .intro-copy,[data-theme="firesideglass"] .collection-heading,[data-theme="firesideglass"] .site-footer{background:#22331fbb;padding:12px 16px;border:1px solid #eed4a04a;border-radius:16px;backdrop-filter:blur(10px)}
[data-theme="firesideglass"] .collection-heading{margin-bottom:18px}
[data-theme="firesideglass"] .launch-arrow{background:#eadfc4;border:1px solid #c3b084}

/* 51 — Ember & Velvet: a richer, cushioned alternative to parchment. */
[data-theme="embervelvet"]{color-scheme:dark;--page:#28362a;--ink:#f6ebcf;--muted:#d2d4b5;--accent:#f2cb98;--accent-ink:#2e412e;--surface:linear-gradient(145deg,#4d614be8,#243b2aeF);--line:#93a07d;--radius:34px;--border:1px solid #bfcca477;--shadow:inset 0 2px 3px #e8ecbf30,inset 0 -8px 18px #13261755,0 20px 40px #07150b80;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.04em;--card-gap:31px;--r3-background:linear-gradient(#15221880,#10271999),url('/assets/hearth.png');--r3-attachment:fixed}
[data-theme="embervelvet"] .project-card{backdrop-filter:blur(16px);padding:13px}
[data-theme="embervelvet"] .project-visual{border-radius:24px;box-shadow:inset 0 2px 5px #050f0947,0 1px 0 #e9dcac44}
[data-theme="embervelvet"] .visual-ascii{--visual-bg:#4e5f36;--visual-ink:#f5edc1}[data-theme="embervelvet"] .visual-math{--visual-bg:#254c42;--visual-ink:#ddf4d6}[data-theme="embervelvet"] .visual-atom{--visual-bg:#715137;--visual-ink:#ffe5b4}
[data-theme="embervelvet"] .gallery-intro em{font-style:italic}
[data-theme="embervelvet"] .intro-copy,[data-theme="embervelvet"] .collection-heading,[data-theme="embervelvet"] .site-footer{background:#203323d4;padding:12px 16px;border-radius:16px}
[data-theme="embervelvet"] .collection-heading{margin-bottom:18px}
[data-theme="embervelvet"] .launch-arrow{background:linear-gradient(135deg,#d5c396,#8e8c5e);color:#263b2c}

/* 52 — Citrus Glass: bright fruit and frosted panes, with strong image colors. */
[data-theme="citrusglass"]{--page:#dfedd6;--ink:#34593f;--muted:#5b7352;--accent:#976223;--surface:linear-gradient(140deg,#fcfff3eb,#eff5d8c9);--line:#b7c79b;--radius:30px;--border:1px solid #fffff5;--shadow:inset 0 2px 0 #fff,0 16px 32px #3b5f382e;--font:"Segoe UI",Arial,sans-serif;--display:"Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:30px;--r3-background:linear-gradient(#e5f0d931,#e5f0d95c),url('/assets/fruit.png')}
[data-theme="citrusglass"] .project-card{backdrop-filter:blur(25px)}
[data-theme="citrusglass"] .gallery-intro{background:#f5fae7b8;border:1px solid #faffedd6;padding:25px;margin-block:24px;border-radius:26px;backdrop-filter:blur(14px)}
[data-theme="citrusglass"] .visual-ascii{--visual-bg:#b37821;--visual-ink:#fff9d7}[data-theme="citrusglass"] .visual-math{--visual-bg:#50763f;--visual-ink:#eef8d0}[data-theme="citrusglass"] .visual-atom{--visual-bg:#425a83;--visual-ink:#f0f1ff}
[data-theme="citrusglass"] .project-visual{background-image:linear-gradient(135deg,#ffffff23,transparent 50%,#14351426)}
[data-theme="citrusglass"] .collection-heading,[data-theme="citrusglass"] .site-footer{background:#f5fae7e3;padding:12px 16px;border-radius:13px}
[data-theme="citrusglass"] .collection-heading{margin-bottom:17px}
[data-theme="citrusglass"] .launch-arrow{background:#ebd7a2;color:#6e4f20}

/* 53 — Orchard Porcelain: soft ceramic cards with leaf and berry glazes. */
[data-theme="orchardporcelain"]{--page:#e4ead6;--ink:#3f543e;--muted:#647258;--accent:#916c3b;--surface:linear-gradient(140deg,#fffef3,#edeed9);--line:#bdc6a5;--radius:36px;--border:2px solid #fffef2;--shadow:inset 0 2px 0 white,0 7px 0 #a5b58d3d,0 19px 32px #3f583d2e;--font:"Trebuchet MS",Arial,sans-serif;--display:"Arial Rounded MT Bold","Trebuchet MS",sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:32px;--r3-background:linear-gradient(#e4ead6c9,#e4ead6df),url('/assets/fruit.png')}
[data-theme="orchardporcelain"] .project-card{padding:12px}
[data-theme="orchardporcelain"] .project-visual{border-radius:25px;background-image:linear-gradient(140deg,#ffffff30,transparent 45%,#051d2138);box-shadow:inset 0 2px 1px #ffffff33,inset 0 -3px 6px #1427173b}
[data-theme="orchardporcelain"] .visual-ascii{--visual-bg:#877336;--visual-ink:#fff5ca}[data-theme="orchardporcelain"] .visual-math{--visual-bg:#47734c;--visual-ink:#edfad3}[data-theme="orchardporcelain"] .visual-atom{--visual-bg:#4e5f8a;--visual-ink:#f2ecff}
[data-theme="orchardporcelain"] .gallery-intro em{color:#667f41;text-shadow:2px 2px #fffae7}
[data-theme="orchardporcelain"] .launch-arrow{background:#e4ebcb}

/* 54 — Cyberpunk: neon edges, wet architecture, and smoked technical glass. */
[data-theme="cyberpunk"]{color-scheme:dark;--page:#0d2231;--ink:#edfbff;--muted:#bfdae3;--accent:#8bf1e5;--accent-ink:#122b39;--surface:linear-gradient(145deg,#234759c9,#091d32ed);--line:#628997;--radius:5px 27px 5px 27px;--border:1px solid #80d5d1a6;--shadow:inset 0 1px 0 #bafff04f,0 0 0 2px #67c7c214,0 20px 34px #020c1c8c;--font:"Courier New",monospace;--display:"Trebuchet MS",Arial,sans-serif;--title-weight:800;--title-spacing:-.06em;--card-gap:29px;--r3-background:linear-gradient(#031a2c52,#05192a7a),url('/assets/cyberpunk-city.png');--r3-attachment:fixed}
[data-theme="cyberpunk"] .project-card{backdrop-filter:blur(17px);border-top:3px solid #94e4d6}
[data-theme="cyberpunk"] .project-card:nth-child(2){border-top-color:#e4a6c7}[data-theme="cyberpunk"] .project-card:nth-child(3){border-top-color:#f4c589}
[data-theme="cyberpunk"] .project-visual{border-radius:2px 18px 2px 18px;border-color:#74b2c65c}
[data-theme="cyberpunk"] .visual-ascii{--visual-bg:#12475cbf;--visual-ink:#b6fff0}[data-theme="cyberpunk"] .visual-math{--visual-bg:#403650bf;--visual-ink:#f0cde8}[data-theme="cyberpunk"] .visual-atom{--visual-bg:#584739bf;--visual-ink:#ffe1a5}
[data-theme="cyberpunk"] .gallery-intro h1{font-style:italic;text-shadow:2px 2px #174052}
[data-theme="cyberpunk"] .intro-copy,[data-theme="cyberpunk"] .collection-heading,[data-theme="cyberpunk"] .site-footer{background:#071e30d9;padding:12px 15px;border-radius:5px}
[data-theme="cyberpunk"] .collection-heading{margin-bottom:18px}
[data-theme="cyberpunk"] .card-body h3{font-size:1.75rem}
[data-theme="cyberpunk"] .launch-arrow{border-radius:3px;background:#75d7ca33;color:#b4fff2}

/* 55 — Neon Rain: warm reflections and rounded amber glass in the same city. */
[data-theme="neonrain"]{color-scheme:dark;--page:#283444;--ink:#fff0e2;--muted:#ead1cd;--accent:#ffca9e;--accent-ink:#443b48;--surface:linear-gradient(145deg,#836a6c70,#263246d9);--line:#bb9da078;--radius:31px;--border:1px solid #efc9ba88;--shadow:inset 0 1px 0 #ffeadb6b,0 16px 36px #06132488;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.05em;--card-gap:30px;--r3-background:linear-gradient(#362d4059,#25304499),url('/assets/cyberpunk-city.png');--r3-attachment:fixed}
[data-theme="neonrain"] .project-card{backdrop-filter:blur(25px) saturate(90%)}
[data-theme="neonrain"] .card-body{background:#273448a6;border-radius:20px;margin-top:10px;padding:23px 16px 15px}
[data-theme="neonrain"] .visual-ascii{--visual-bg:#4a626cb8;--visual-ink:#d4f8ed}[data-theme="neonrain"] .visual-math{--visual-bg:#604858b8;--visual-ink:#ffe1ec}[data-theme="neonrain"] .visual-atom{--visual-bg:#7d604cb8;--visual-ink:#ffebc3}
[data-theme="neonrain"] .project-visual{border-color:#edc4b363;background-image:linear-gradient(120deg,#fff1c912,transparent)}
[data-theme="neonrain"] .gallery-intro em{font-style:italic}
[data-theme="neonrain"] .intro-copy,[data-theme="neonrain"] .collection-heading,[data-theme="neonrain"] .site-footer{background:#263247d4;padding:12px 15px;border-radius:15px}
[data-theme="neonrain"] .collection-heading{margin-bottom:18px}
[data-theme="neonrain"] .launch-arrow{background:#e4b38d40;color:#ffe2b9}

/* 56 — Water & Cozy Rain: rain outdoors, warm milky panes inside. */
[data-theme="cozyrain"]{color-scheme:dark;--page:#253e39;--ink:#f7efdc;--muted:#e1e3cb;--accent:#efcfa0;--accent-ink:#344c41;--surface:linear-gradient(145deg,#fff5dfee,#dce8d9e8);--line:#afbeaa;--radius:31px;--border:1px solid #f4f6dcbd;--shadow:inset 0 2px 0 #fff9e3ab,0 20px 35px #071c1680;--font:"Segoe UI",Arial,sans-serif;--display:Georgia,serif;--title-weight:400;--title-spacing:-.055em;--card-gap:30px;--r3-background:linear-gradient(#133a314a,#183c3877),url('/assets/rain-window.png');--r3-attachment:fixed}
[data-theme="cozyrain"] .project-card{--ink:#3b5043;--muted:#60705d;--accent:#836444;--accent-ink:#fff8e8;--line:#b3c1a8;backdrop-filter:blur(20px)}
[data-theme="cozyrain"] .visual-ascii{--visual-bg:#4e786e;--visual-ink:#e9f5d6}[data-theme="cozyrain"] .visual-math{--visual-bg:#35586e;--visual-ink:#e7f6f6}[data-theme="cozyrain"] .visual-atom{--visual-bg:#897151;--visual-ink:#fff1ce}
[data-theme="cozyrain"] .project-visual{border-radius:22px;background-image:linear-gradient(135deg,#ffffff24,transparent 55%,#08272b26)}
[data-theme="cozyrain"] .intro-copy,[data-theme="cozyrain"] .collection-heading,[data-theme="cozyrain"] .site-footer{background:#193d37cf;padding:12px 16px;border-radius:16px;backdrop-filter:blur(12px)}
[data-theme="cozyrain"] .collection-heading{margin-bottom:18px}
[data-theme="cozyrain"] .gallery-intro em{font-style:italic}
[data-theme="cozyrain"] .launch-arrow{background:#e4e7cb;color:#666641}

/* 57 — Rainy Observatory: a cool, dark alternative with layered panes. */
[data-theme="rainyobservatory"]{color-scheme:dark;--page:#193541;--ink:#eef7f5;--muted:#c4dfe0;--accent:#bddfda;--accent-ink:#233e48;--surface:linear-gradient(145deg,#5c899b57,#112e40d9);--line:#89aeba70;--radius:25px;--border:1px solid #a0c9d18a;--shadow:inset 0 1px 0 #d2f5ee70,0 22px 40px #0415268a;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.045em;--card-gap:30px;--r3-background:linear-gradient(#15395070,#092941b3),url('/assets/rain-window.png');--r3-attachment:fixed}
[data-theme="rainyobservatory"] .project-card{backdrop-filter:blur(22px)}
[data-theme="rainyobservatory"] .card-body{background:#1533438a;margin-top:10px;border-radius:16px;padding:23px 17px 16px}
[data-theme="rainyobservatory"] .visual-ascii{--visual-bg:#275060d4;--visual-ink:#d0eee4}[data-theme="rainyobservatory"] .visual-math{--visual-bg:#294264d4;--visual-ink:#d9eaff}[data-theme="rainyobservatory"] .visual-atom{--visual-bg:#546657d4;--visual-ink:#f1efd0}
[data-theme="rainyobservatory"] .intro-copy,[data-theme="rainyobservatory"] .collection-heading,[data-theme="rainyobservatory"] .site-footer{background:#143342d4;padding:12px 16px;border-radius:14px}
[data-theme="rainyobservatory"] .collection-heading{margin-bottom:18px}
[data-theme="rainyobservatory"] .launch-arrow{background:#aaceda30}

/* 58 — Vast Ocean: a wide horizon, bright glass cards, and deep marine panels. */
[data-theme="vastocean"]{--page:#bad9e1;--ink:#224b60;--muted:#446778;--accent:#327585;--surface:linear-gradient(145deg,#f5fcffeF,#d9edf1ed);--line:#b5d1d9;--radius:28px;--border:1px solid #f8ffff;--shadow:inset 0 2px 0 #fff,0 5px 0 #437b9624,0 22px 38px #123e5655;--font:"Segoe UI",Arial,sans-serif;--title-weight:300;--title-spacing:-.055em;--card-gap:32px;--r3-background:linear-gradient(#b6e0ea17,#0b537b1f),url('/assets/vast-ocean.png');--r3-attachment:fixed}
[data-theme="vastocean"] .site-header{background:#def1f3c9;padding-inline:20px;border-bottom-color:#d6f0f3bd;backdrop-filter:blur(10px)}
[data-theme="vastocean"] .gallery-intro{background:#e5f5f3a3;padding:25px;margin-block:24px;border-radius:24px;border:1px solid #efffff85;backdrop-filter:blur(10px)}
[data-theme="vastocean"] .project-card{backdrop-filter:blur(22px)}
[data-theme="vastocean"] .visual-ascii{--visual-bg:#26677b;--visual-ink:#d4f9f2}[data-theme="vastocean"] .visual-math{--visual-bg:#284f79;--visual-ink:#e0f0ff}[data-theme="vastocean"] .visual-atom{--visual-bg:#437c7d;--visual-ink:#e6f4df}
[data-theme="vastocean"] .project-visual{background-image:linear-gradient(125deg,#d3fbf026,transparent 55%),url('/assets/vast-ocean.png');background-size:cover;background-position:center 75%;background-blend-mode:normal,soft-light}
[data-theme="vastocean"] .collection-heading,[data-theme="vastocean"] .site-footer{background:#e5f5f3e0;padding:12px 16px;border-radius:14px;backdrop-filter:blur(10px)}
[data-theme="vastocean"] .collection-heading{margin-bottom:17px}
[data-theme="vastocean"] .launch-arrow{background:#d8edeb}

/* 59 — Ocean at Dusk: dark wave-blue glass with restrained warm highlights. */
[data-theme="oceandusk"]{color-scheme:dark;--page:#1b3c50;--ink:#eef8f5;--muted:#c8dfe2;--accent:#efcf9f;--accent-ink:#233f4e;--surface:linear-gradient(145deg,#87aebc38,#11354ce0);--line:#7fa5b780;--radius:28px;--border:1px solid #adccd88a;--shadow:inset 0 1px 0 #e0f9f478,0 18px 40px #07253b80;--font:"Segoe UI",Arial,sans-serif;--display:Georgia,serif;--title-weight:400;--title-spacing:-.055em;--card-gap:31px;--r3-background:linear-gradient(#0e3657b3,#082c4880),url('/assets/vast-ocean.png');--r3-attachment:fixed}
[data-theme="oceandusk"] .project-card{backdrop-filter:blur(22px)}
[data-theme="oceandusk"] .card-body{background:#153a50b3;margin-top:10px;border-radius:18px;padding:23px 17px 16px}
[data-theme="oceandusk"] .visual-ascii{--visual-bg:#275868c9;--visual-ink:#d5f6e9}[data-theme="oceandusk"] .visual-math{--visual-bg:#234269c9;--visual-ink:#d1e8ff}[data-theme="oceandusk"] .visual-atom{--visual-bg:#656951c9;--visual-ink:#ffebbd}
[data-theme="oceandusk"] .intro-copy,[data-theme="oceandusk"] .collection-heading,[data-theme="oceandusk"] .site-footer{background:#163b50d6;padding:12px 16px;border-radius:15px}
[data-theme="oceandusk"] .collection-heading{margin-bottom:18px}
[data-theme="oceandusk"] .gallery-intro em{font-style:italic}
[data-theme="oceandusk"] .launch-arrow{background:#d8c89b24;color:#f3d4a4}

/* 60 — Tidal Studio: the paper-and-pigment direction translated into ocean color. */
[data-theme="tidalstudio"]{--page:#dbe6de;--ink:#345151;--muted:#5a7370;--accent:#8c6541;--surface:linear-gradient(140deg,#fff7e5,#e2e8d8);--line:#b4c4b5;--radius:14px;--border:1px solid #fff9e6;--shadow:inset 0 1px 0 #fffbe9,4px 6px 0 #86a39b38,0 18px 28px #3c60582b;--font:Georgia,serif;--display:"Palatino Linotype",Georgia,serif;--title-weight:400;--title-spacing:-.045em;--card-gap:35px;--r3-background:linear-gradient(#dbe6dedd,#dbe6dedd),url('/assets/vast-ocean.png')}
[data-theme="tidalstudio"] .project-card{padding:12px}
[data-theme="tidalstudio"] .project-visual{border-radius:6px;background-image:linear-gradient(#ffffff17,#0d344038),url('/assets/vast-ocean.png');background-size:cover;background-position:center 75%;background-blend-mode:normal,soft-light;box-shadow:inset 0 1px 0 #ffffff57,inset 0 -2px 5px #0b344336}
[data-theme="tidalstudio"] .visual-ascii{--visual-bg:#2f7180;--visual-ink:#dcf8e9}[data-theme="tidalstudio"] .visual-math{--visual-bg:#315875;--visual-ink:#deecf5}[data-theme="tidalstudio"] .visual-atom{--visual-bg:#6b8172;--visual-ink:#fff2d2}
[data-theme="tidalstudio"] .gallery-intro em{color:#327680;font-style:italic}
[data-theme="tidalstudio"] .launch-arrow{background:#e5e8cf}

/* Calm, static card angles on the three deliberately playful directions. */
@media(min-width:801px){
  :is([data-theme="tilteddaydream"],[data-theme="floatingpostcards"],[data-theme="tidalstudio"]) .project-card:nth-child(1){transform:rotate(-1.2deg)}
  :is([data-theme="tilteddaydream"],[data-theme="floatingpostcards"],[data-theme="tidalstudio"]) .project-card:nth-child(2){transform:translateY(7px) rotate(.4deg)}
  :is([data-theme="tilteddaydream"],[data-theme="floatingpostcards"],[data-theme="tidalstudio"]) .project-card:nth-child(3){transform:rotate(1.2deg)}
  :is([data-theme="tilteddaydream"],[data-theme="floatingpostcards"],[data-theme="tidalstudio"]) .project-card:hover{transform:translateY(-5px) rotate(0)}
}
/* Let the fireplace remain visible beside the new, softer card treatments. */
@media(min-width:1101px){:is([data-theme="firesideglass"],[data-theme="embervelvet"]) .project-grid,:is([data-theme="firesideglass"],[data-theme="embervelvet"]) .collection-heading{margin-left:19%}:is([data-theme="firesideglass"],[data-theme="embervelvet"]) .card-body{padding-inline:12px}:is([data-theme="firesideglass"],[data-theme="embervelvet"]) .card-body h3{font-size:1.65rem}}
@media(max-width:1100px){:where([data-round="3"]) .project-grid{gap:23px}:where([data-round="3"]) .card-body{padding:22px 11px 12px}:where([data-round="3"]) .card-body h3{font-size:1.6rem}:where([data-round="3"]) .project-visual{padding:12px}}
@media(max-width:800px){:where([data-round="3"]) .project-card:last-child{display:flex;grid-column:auto}:where([data-round="3"]) .project-card:last-child .project-visual{height:var(--visual-height);min-height:0;border:1px solid var(--r3-rim,#ffffff33)}:where([data-round="3"]) .intro-copy{max-width:none}:is([data-theme="citrusglass"],[data-theme="vastocean"]) .gallery-intro{padding:22px 18px}}
@media(max-width:540px){:where([data-round="3"]) .site-surface{background-attachment:scroll}:where([data-round="3"]) .card-body h3{font-size:1.8rem}:where([data-round="3"]) .card-body{padding:24px 14px 14px}:where([data-round="3"]) .site-footer{flex-wrap:wrap}:where([data-round="3"]) .intro-copy{padding:12px}:where([data-round="3"]) .gallery-intro h1{font-size:2.5rem}:is([data-theme="citrusglass"],[data-theme="vastocean"]) .gallery-intro h1{font-size:2.3rem}[data-theme="vastocean"] .site-header{padding-inline:12px}}
@media(prefers-reduced-motion:reduce){:where([data-round="3"]) .project-card,:where([data-round="3"]) .project-card:hover{transform:none!important}}
@media(forced-colors:active){:where([data-round="3"]) .site-surface,:where([data-round="3"]) .project-card,:where([data-round="3"]) .project-visual,:where([data-round="3"]) .card-body,:where([data-round="3"]) .gallery-intro,:where([data-round="3"]) .intro-copy,:where([data-round="3"]) .collection-heading,:where([data-round="3"]) .site-header,:where([data-round="3"]) .site-footer{background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important}:where([data-round="3"]) .gallery-intro h1,:where([data-round="3"]) .gallery-intro em,:where([data-round="3"]) .launch-arrow{background:Canvas!important;color:CanvasText!important;text-shadow:none!important}}
