:root {
  color-scheme: dark;
  --paper: #101113;
  --panel: #1c1d20;
  --ink: #f3f2ee;
  --muted: #b1b0b7;
  --hairline: #37383d;
  --accent: #cfc9eb;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, li, fieldset { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
::selection { color: #151419; background: #d0c8eb; }
.page-width { width: min(92%, 88rem); margin-inline: auto; }
.sr-only, .filter-bar input, .hero-switcher input { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; top: .5rem; left: .8rem; z-index: 5; padding: .55rem 1rem; transform: translateY(-150%); background: var(--panel); }
.skip:focus { transform: none; }

.site-header, .site-header nav, .brand, .footer { display: flex; align-items: center; }
.site-header { min-height: 4.5rem; justify-content: space-between; gap: 1rem; }
.site-header.home-header { display: grid; grid-template-columns: 1fr auto 1fr; min-height: clamp(4.4rem,5.6vw,5.6rem); }
.showcase-home { background: radial-gradient(ellipse 60% 24rem at 24% 0%,#23232a75,transparent),#101113; }
.home-header .brand { font-size: 1.55rem; }
.home-header .member { background: #e9e7ef; border-color: #e9e7ef; color: #222228; }
.home-header .member:hover { background: #f6f4fb; }
.site-header nav { gap: clamp(1rem, 2.9vw, 2.75rem); font-size: .9rem; }
.site-header a { transition: color .18s, background .18s, border-color .18s; }
.brand { justify-self: start; width: fit-content; gap: .72rem; color: var(--ink); font-size: 1.48rem; line-height: 1; font-weight: 790; letter-spacing: -.065em; }
.brand-glyph { position: relative; width: 1.1rem; height: 1.1rem; margin-inline: .18rem; border: 2px solid #d8d0f3; border-radius: .25rem; transform: rotate(-43deg) skew(3deg,3deg); }
.brand-glyph::after { content: ""; position: absolute; inset: .14rem -.28rem -.28rem .14rem; border: 1px solid #aaa1c7; border-top: 0; border-left: 0; border-radius: .13rem; }
.nav-section { color: var(--muted); padding-block: .6rem; }
.nav-section:hover, .footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .3em; }
.member, .primary-action { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; min-height: 2.6rem; padding: .56rem 1.1rem; border-radius: .5rem; font-weight: 630; }
.member { justify-self: end; color: var(--ink); background: #25262a; border: 1px solid #45454c; font-size: .9rem; }
.member:hover { background: #323338; border-color: #797781; }
.arrow { position: relative; display: inline-block; flex: none; width: .83rem; height: .64rem; color: inherit; }
.arrow::before, .arrow::after { position: absolute; content: ""; }
.arrow::before { width: 100%; top: 50%; left: 0; border-top: 1.5px solid; }
.arrow::after { top: 50%; right: 0; width: .4rem; height: .4rem; border: solid; border-width: 1.5px 1.5px 0 0; transform: translateY(-45%) rotate(45deg); }
.northeast { transform: rotate(-43deg); }


.gallery { padding: 0; border: 0; min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .9rem 1rem; margin-bottom: 1.2rem; }
.filter-bar { display: flex; align-items: center; flex-wrap: wrap; gap: .14rem; padding: .2rem; border: 1px solid #34353a; border-radius: .55rem; background: #1a1b1e; }
.filter-bar label { position: relative; cursor: pointer; }
.filter-bar span { display: inline-flex; align-items: center; min-height: 2rem; padding: .23rem .77rem; border: 1px solid transparent; border-radius: .32rem; color: #b6b4be; font-size: .84rem; }
.filter-bar label:hover span { color: var(--ink); }
.filter-bar input:checked + span { color: #f5f0ff; border-color: #55535d; background: #37363e; }
.filter-bar input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.gallery:has(#filter-animation:checked) li:not([data-category="animation"]),
.gallery:has(#filter-story:checked) li:not([data-category="story"]),
.gallery:has(#filter-brand:checked) li:not([data-category="brand"]),
.gallery:has(#filter-art:checked) li:not([data-category="art"]),
.gallery:has(#filter-space:checked) li:not([data-category="space"]) { display: none; }
.cards { padding: 0; list-style: none; }
.project-card { display: block; padding: .82rem .05rem .18rem; border-radius: .22rem; }
.cover { display: block; position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.75; background: var(--panel); border-radius: .72rem; }
.cover::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #ffffff25; pointer-events: none; }
.cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.cover.amber img { object-position: 50% 34%; }
.cover.nightbus img { object-position: 65% 43%; }
.cover:hover img { transform: scale(1.036); }
.image-zoom { display: grid; place-items: center; position: absolute; bottom: .52rem; right: .52rem; width: 1.86rem; height: 1.86rem; border: 1px solid #fff6; border-radius: 50%; color: #fff; background: #131418b3; }
.image-zoom i { width: .84rem; height: .84rem; background: linear-gradient(currentColor,currentColor) left top / .38rem 1.5px,linear-gradient(currentColor,currentColor) left top / 1.5px .38rem,linear-gradient(currentColor,currentColor) right bottom / .38rem 1.5px,linear-gradient(currentColor,currentColor) right bottom / 1.5px .38rem; background-repeat: no-repeat; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: .45rem; margin-bottom: .14rem; }
.card-title h3 { font-weight: 640; font-size: clamp(1.15rem,1.6vw,1.5rem); letter-spacing: -.035em; }
.card-action { display: inline-flex; align-items: center; gap: .33rem; color: #cfc9db; font-size: .76rem; white-space: nowrap; }
.card-action .arrow { width: .62rem; height: .53rem; }
.project-card:hover h3, .project-card:hover .card-action { color: #e8dbff; }
.card-category { color: #cbc2d9; font-size: .74rem; }
.project-card p { margin-top: .18rem; color: var(--muted); font-size: .85rem; }

.footer { flex-wrap: wrap; gap: .65rem 1.3rem; min-height: 5.1rem; padding-block: 1.25rem; color: var(--muted); border-top: 1px solid var(--hairline); font-size: .86rem; }
.footer-brand { color: var(--ink); font-weight: 780; font-size: 1.15rem; letter-spacing: -.055em; }
.footer a { margin-left: auto; }
.footer .filing-link { margin-left: 0; }

[hidden] { display: none !important; }
button, select, textarea, input { font-family: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h2 { font-size: clamp(1.5rem,2.1vw,2.1rem); line-height: 1.3; font-weight: 650; letter-spacing: -.045em; }
.create-deck, .recipes, .projects { scroll-margin-block-start: 1rem; }
.create-deck { display: grid; grid-template-columns: minmax(0,1.24fr) minmax(0,1fr); gap: clamp(.7rem,1.15vw,1.15rem); }
.create-workbench { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; justify-content: center; min-width: 0; min-height: clamp(21rem,27vw,27rem); padding: clamp(1.2rem,2.15vw,2.3rem); border: 1px solid #43434b; border-radius: 1.05rem; background: radial-gradient(ellipse at 100% 0%,#38333f 0%,transparent 56%),linear-gradient(120deg,#27272e,#19191e 85%); }
.create-workbench::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; right: 0; height: 62%; border-radius: 0 1.05rem 0 0; background: radial-gradient(#b7a7d542 .8px,transparent 1px) left top / 8px 8px; mask-image: linear-gradient(235deg,#000 5%,transparent 66%); pointer-events: none; }
.desk-heading { padding-bottom: 1.15rem; }
.product-name { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; color: #d2cadd; font-size: .82rem; font-weight: 560; letter-spacing: .08em; }
.product-name::before { content: ""; width: .75rem; height: .75rem; border: 1px solid #b8abca; border-radius: 2px; box-shadow: inset .19rem -.19rem #8a7a9e; }
.desk-switch { display: inline-flex; margin-top: 1.05rem; padding: .2rem; gap: .15rem; border: 1px solid #a9a7b74d; border-radius: 2rem; background: #17181dd9; }
.desk-switch button { min-width: 4.35rem; padding: .32rem .95rem; border: 0; border-radius: inherit; background: transparent; color: #cecad6; font-family: inherit; font-size: .86rem; line-height: 1.4; font-weight: 600; }
.desk-switch button[aria-selected="true"] { background: #e5dff1; color: #24202a; }
.desk-switch button:hover:not([aria-selected="true"]) { background: #36353d; color: #faf8ff; }
.desk-heading h1 { color: #fbfaf8; font-size: clamp(2.02rem,3.15vw,3.28rem); line-height: 1.16; letter-spacing: -.065em; font-weight: 665; }
.spotlight { position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: end; min-width: 0; min-height: 17rem; padding: clamp(1rem,2vw,2rem); border: 1px solid #5b5a61; border-radius: 1.05rem; background: #171c21; }
.spotlight-frames { position: absolute; inset: 0; z-index: -2; }
.spotlight-frames img { display: block; width: 100%; height: 100%; object-fit: cover; }
.spotlight-frames img.nightbus { object-position: 70% 42%; }
.spotlight-frames img.chrono { object-position: 50% 50%; }
.spotlight-frames::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#0d111ae8 0%,#10111950 44%,transparent 70%),linear-gradient(105deg,#18152233,transparent 70%); }
.spotlight .spot:not(.nightbus) { display: none; }
.spotlight:has(#spot-chrono:checked,#spot-paper:checked) .spot.nightbus { display: none; }
.spotlight:has(#spot-chrono:checked) .spot.chrono, .spotlight:has(#spot-paper:checked) .spot.paper { display: block; }
.spotlight-label { position: absolute; top: 1.1rem; left: 1.25rem; display: flex; align-items: center; gap: .4rem; padding: .25rem .6rem; border: 1px solid #ffffff3a; border-radius: 2rem; color: #faf7f5; background: #10161dbd; font-size: .72rem; }
.spotlight-label::before { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: #edbcaa; }
.spotlight-bottom { display: flex; justify-content: space-between; align-items: end; gap: .9rem; color: #fff; }
.spotlight-titles { min-width: 0; }
.spotlight-titles small { display: block; font-size: .78rem; color: #ede6e3; text-shadow: 0 1px 4px #000; }
.spotlight-titles strong { display: block; margin: .3rem 0 .9rem; color: #f9f5e9; font: 650 clamp(2.65rem,4.95vw,5.6rem)/1.02 "Songti SC","STSong","Noto Serif CJK SC",Georgia,serif; letter-spacing: -.065em; text-shadow: 0 1px 12px #08090b52; }
.spot-action { display: inline-flex; align-items: center; justify-content: center; gap: .54rem; min-height: 2.35rem; padding: .35rem .8rem; color: #1a1a20; background: #f1eeea; border-radius: .45rem; font-size:.81rem; font-weight: 660; }
.spot-action:hover { background: #fff; }
.spot-action.play i { display: block; width: 0; height: 0; border-block: .26rem solid transparent; border-left: .42rem solid currentColor; }
.hero-switcher { display: flex; gap: .35rem; min-width: 0; padding: .28rem; border: 1px solid #ffffff3b; border-radius: .45rem; background: #131522b5; }
.hero-switcher label { position: relative; display: flex; cursor: pointer; }
.hero-switcher label > span { display: block; width: clamp(2.25rem,3.1vw,3.25rem); aspect-ratio: 1.45; overflow: hidden; border-radius: .2rem; opacity: .66; }
.hero-switcher img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-switcher input:checked + span, .hero-switcher label:hover span { opacity: 1; }
.hero-switcher input:checked + span { outline: 2px solid #eee9fc; outline-offset: -2px; }
.hero-switcher input:focus-visible + span { outline: 2px solid #fff; outline-offset: 1px; }

.generator { width: 100%; min-width: 0; padding: .75rem; border: 1px solid #53525c; border-radius: .82rem; background: linear-gradient(142deg,#303038,#27272d); box-shadow: inset 0 1px #ffffff0c,0 7px 22px #0a09152e; }
.canvas-entry { padding: 1rem; border: 1px solid #585660; border-radius: .82rem; background: radial-gradient(#b2aaca30 .7px, transparent 1px) 0 0 / 13px 13px,#202026; }
.canvas-bar, .canvas-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.canvas-bar h2 { font-size: 1.05rem; letter-spacing: -.02em; }
.canvas-bar > a { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .7rem; border-radius: .4rem; background: #ded5f4; color: #211d27; font-size: .82rem; font-weight: 650; }
.canvas-nodes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.6rem; margin: 1rem 0 .75rem; }
.canvas-nodes a { display: grid; position: relative; align-content: center; min-width: 0; min-height: 5.4rem; gap: .12rem; padding: .58rem .8rem; border: 1px solid #585665; border-radius: .48rem; background: #2c2a32; }
.canvas-nodes a:hover { border-color: #b9adc9; }
.canvas-nodes a + a::before { content: ""; position: absolute; top: 50%; right: calc(100% + 1px); width: 1.6rem; border-top: 1px solid #9890aa; pointer-events: none; }
.canvas-nodes small, .canvas-footer { color: #ccc5d5; font-size: .73rem; }
.canvas-nodes strong { color: #f5f1f8; font-size: .99rem; font-weight: 600; }
.canvas-nodes span { color: #c1bdc8; font-size: .78rem; }
.canvas-nodes .canvas-still { isolation: isolate; background: #222a35; }
.canvas-still img { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.canvas-still div { display: grid; }
.canvas-still::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; background: linear-gradient(90deg,#1a1c27ed,transparent); }
.canvas-footer a:hover { text-decoration: underline; }
.generator:focus-within { border-color: #9b93aa; }
.mode-switch { display: inline-flex; gap: .2rem; border: 0; padding: 0; }
.mode-switch label { position: relative; cursor: pointer; }
.mode-switch input { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.mode-switch label > span { display: inline-flex; align-items: center; gap: .42rem; padding: .28rem .65rem; border: 1px solid transparent; border-radius: .34rem; color: #bcbac5; font-size: .84rem; }
.mode-switch input:checked + span { border-color: #5c5966; color: #f6f3fc; background: #424047; }
.mode-switch input:focus-visible + span { outline: 2px solid var(--accent); }
.mode-icon { position: relative; display: inline-block; width: .83rem; height: .68rem; border: 1px solid; border-radius: .16rem; }
.image-icon::after { content: ""; position: absolute; left: .16rem; bottom: .07rem; width: .38rem; height: .31rem; border: solid; border-width: 1px 0 0 1px; transform: rotate(37deg); }
.video-icon::after { content: ""; position: absolute; left: .28rem; top: .13rem; border-left: .26rem solid; border-block: .14rem solid transparent; }
.generator textarea { display: block; width: 100%; height: 3.4rem; min-height: 3.4rem; margin: .55rem 0 .5rem; padding: .2rem .4rem; border: 0; resize: vertical; background: transparent; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.generator textarea::placeholder { color: #b5b1bd; }
.generator textarea:focus { outline: none; }
.generator-controls, .param-list { display: flex; align-items: center; gap: .35rem; }
.generator-controls { justify-content: space-between; gap: .7rem; }
.param-list { flex-wrap: wrap; }
.param { display: inline-flex; gap: .28rem; align-items: center; min-height: 2.15rem; padding-inline: .43rem; border: 1px solid #47464e; border-radius: .38rem; background: #333338; }
.param select { max-width: 100%; min-height: 2rem; padding: .12rem .16rem; color: #e2dfe7; border: 0; background: #333338; font-size: .83rem; cursor: pointer; }
.ratio-icon { display: inline-block; width: .8rem; height: .56rem; border: 1px solid #b4afbf; border-radius: .1rem; }
.generate-button, .account-continue { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; flex: none; min-height: 2.6rem; padding: .55rem 1.2rem; border-radius: .47rem; background: #ded5f4; color: #211d27; font-weight: 660; font-size: .94rem; }
.generate-button:hover, .account-continue:hover { background: #f0eaff; }
.desk-foot { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-top: .62rem; font-size: .76rem; color: #c5c0cc; }
.desk-foot button { border: 0; background: transparent; color: #f0eaff; text-decoration: underline; }
.desk-foot span:empty { display: none; }

.recipes { margin-block: clamp(1.7rem,2.4vw,2.5rem) clamp(2rem,3vw,3.3rem); }
.section-heading p { color: var(--muted); font-size: .84rem; }
.recipe-floor { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.25fr); gap: .85rem; }
.edition-feature { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; min-height: clamp(11rem,13.8vw,13.8rem); padding: clamp(1rem,1.7vw,1.65rem); border: 1px solid #7b655248; border-radius: .75rem; background: #252019; }
.edition-feature img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 35%; }
.edition-feature::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#16120ff0,#211a18bc 37%,transparent 82%),linear-gradient(0deg,#1913164d,transparent 60%); }
.edition-copy { max-width: 65%; color: #f7f2e8; }
.edition-copy h3 { margin-block: .22rem; font: 630 clamp(1.8rem,2.55vw,2.8rem)/1.18 "Songti SC","STSong","Noto Serif CJK SC",Georgia,serif; }
.edition-category { font-size: .74rem; color: #e9cdb0; }
.edition-copy p { font-size: .83rem; line-height: 1.48; color: #e4d7ca; }
.edition-link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .76rem; color: #f2decb; }
.edition-feature:hover .edition-link { text-decoration: underline; text-underline-offset: .24em; }
.recipe-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; }
.recipe-card { position: relative; display: grid; grid-template-columns: minmax(3rem,35%) minmax(0,1fr); align-items: stretch; min-height: 4.85rem; overflow: hidden; border: 1px solid #424249; border-radius: .68rem; background: #202126; transition: border-color .2s,background .2s; }
.recipe-card:hover { border-color: #89828f; background: #29292f; }
.recipe-copy { min-width: 0; align-self: center; display: grid; gap: .07rem; padding: .5rem .8rem; }
.recipe-copy small { color: #bdb8c3; font-size: .73rem; }
.recipe-copy strong { color: #fff; font-weight: 630; font-size: clamp(1rem,1.35vw,1.4rem); letter-spacing: -.03em; }
.recipe-card img { position: absolute; inset: 0 auto 0 0; width: 35%; height: 100%; object-fit: cover; }
.recipe-copy { grid-column: 2; }
.recipe-card[data-recipe="push"] img { object-position: 69% 36%; }
.recipe-card[data-recipe="metal"] img { object-position: 58% 50%; }

.projects { margin-block: 0 clamp(2.5rem,4vw,4.5rem); }
.work-search { position: relative; }
.work-search::before { content: ""; position: absolute; left: .78rem; top: .66rem; width: .6rem; height: .6rem; border: 1px solid #b6b3c0; border-radius: 50%; }
.work-search::after { content: ""; position: absolute; left: 1.27rem; top: 1.23rem; width: .31rem; border-top: 1px solid #b6b3c0; transform: rotate(48deg); }
.work-search input { width: min(45vw,14.5rem); padding: .5rem .7rem .5rem 1.95rem; border-radius: .45rem; border: 1px solid var(--hairline); background: #1c1c20; color: var(--ink); font-size: .82rem; }
.work-search input::placeholder { color: #b6b3bd; }
.work-filters { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: 1rem; }
.match-count { color: var(--muted); font-size: .8rem; }
.cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.65rem clamp(.75rem,1.4vw,1.4rem); }
.empty-works { padding: 2.5rem; border: 1px dashed var(--hairline); border-radius: .6rem; text-align: center; color: var(--muted); }
.empty-works button, .gate-options button { color: #ded5ec; font-size: .88rem; border: 0; background: transparent; padding: .45rem; text-decoration: underline; text-underline-offset: .24em; }
.generation-dialog { position: fixed; width: min(90vw,25rem); padding: 2rem; margin: auto; color: var(--ink); border: 1px solid #55545c; border-radius: .95rem; background: #222327; box-shadow: 0 2rem 6rem #0008; }
.generation-dialog::backdrop { background: #08090cc9; }
.gate-brand { margin-bottom: 1.25rem; color: #d9d3ea; font-weight: 740; letter-spacing: -.04em; }
.generation-dialog h2 { margin: 0 0 .55rem; font-size: 1.65rem; }
#gate-description, .gate-status { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.account-continue { width: 100%; margin: 1.35rem 0 .6rem; }
.close-gate { position: absolute; top: .75rem; right: .8rem; color: #ddd; border: 0; background: transparent; font-size: 1.55rem; line-height: 1; padding: .35rem; }
.gate-options { display: flex; justify-content: space-between; }
.gate-status:not(:empty) { margin-top: .8rem; }
@media (min-width: 641px) {
  .generator { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .mode-switch { grid-area: 1 / 1; justify-self: start; }
  .generator textarea { grid-area: 2 / 1 / 3 / -1; }
  .generator-controls { grid-area: 3 / 1 / 4 / -1; display: flex; align-items: end; }
  .generate-button { min-height: 2.22rem; padding: .32rem .67rem; gap: .4rem; font-size: .83rem; }
}
@media (min-width: 1060px) {
  .gallery:has(#filter-all:checked):not(:has(li[hidden])) .cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .gallery:has(#filter-all:checked):not(:has(li[hidden])) .cover-lead { grid-column: span 2; }
  .gallery:has(#filter-all:checked):not(:has(li[hidden])) .cover-lead .cover { aspect-ratio: 3.57; }
}
@supports not selector(:has(*)) { .hero-switcher { display: none; } }
@media (max-width: 960px) {
  .create-deck { grid-template-columns: minmax(0,1.23fr) minmax(0,.92fr); }
  .create-workbench { padding: 1.08rem; }
  .spotlight { padding: 1.1rem; }
  .spotlight-bottom { flex-wrap: wrap; }
  .hero-switcher { gap: .2rem; }
  .hero-switcher label > span { width: 1.9rem; }
  .canvas-nodes { gap: .6rem; }
  .canvas-nodes a + a::before { width: .6rem; }
  .canvas-nodes span { display: none; }
  .recipe-floor { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }
  .recipe-copy { padding-inline: .6rem; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .create-deck { grid-template-columns: 1fr; gap: .65rem; }
  .create-workbench { min-height: auto; padding: 1.1rem; }
  .desk-heading { padding-bottom: .85rem; }
  .spotlight { min-height: 13.5rem; }
  .spotlight-label { top: .7rem; left: .85rem; }
  .spotlight-frames img.nightbus { object-position: 50% 35%; }
  .spotlight-bottom { flex-wrap: nowrap; }
  .spotlight-titles strong { margin-block: .18rem .52rem; }
  .hero-switcher label > span { width: 2.1rem; }
  .recipe-floor { grid-template-columns: 1fr; }
  .edition-feature { min-height: 10.4rem; }
  .edition-copy { max-width: 61%; }
  .recipe-card { min-height: 4.15rem; }
}
@media (max-width: 640px) {
  .page-width { width: min(93%,35rem); }
  .site-header.home-header { min-height: 3.8rem; display: flex; }
  .home-header nav { display: flex; margin-left: auto; font-size: .82rem; }
  .home-header nav .nav-section:not([href="#projects"]) { display: none; }
  .create-workbench { padding: .85rem; }
  .desk-switch { margin-top: .63rem; }
  .canvas-entry { padding: .68rem; }
  .canvas-nodes a { min-height: 4.3rem; padding: .35rem; }
  .canvas-nodes strong { font-size: .81rem; }
  .canvas-nodes small, .canvas-footer { font-size: .68rem; }
  .canvas-bar h2 { font-size: .89rem; }
  .canvas-bar > a { font-size: .74rem; }
  .product-name { font-size: .72rem; margin-bottom: .4rem; }
  .desk-heading h1 { font-size: clamp(1.65rem,7.4vw,2.4rem); }
  .generator { padding: .55rem; }
  .generator textarea { height: 3.4rem; font-size: .96rem; }
  .generator-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
  .param-list { flex: 1 1 13.35rem; }
  .generate-button { margin-left: auto; min-height: 2.05rem; padding: .33rem .54rem; font-size: .81rem; gap: .4rem; }
  .param { min-height: 1.9rem; padding-inline: .22rem; }
  .param select { min-height: 1.85rem; font-size: .76rem; }
  .section-heading { align-items: baseline; gap: .45rem; margin-bottom: .7rem; }
  .section-heading p, .recipe-copy small { font-size: .7rem; }
  .recipe-grid { gap: .45rem; }
  .recipe-copy { padding-inline: .45rem; }
  .recipe-copy strong { font-size: .92rem; }
  .work-filters { align-items: start; flex-direction: column; margin-bottom: .75rem; }
  .filter-bar { padding: .1rem; gap: 0; }
  .filter-bar span { min-height: 1.86rem; font-size: .74rem; padding: .18rem .43rem; }
  .cards { gap: 1.1rem .6rem; }
  .cover { aspect-ratio: 1.34; }
  .image-zoom { width: 1.45rem; height: 1.45rem; right: .32rem; bottom: .32rem; }
  .image-zoom i { width: .65rem; height: .65rem; }
  .project-card { padding-top: .48rem; }
  .card-title { flex-wrap: wrap; gap: .05rem .35rem; }
  .card-title h3 { font-size: 1rem; }
  .card-category, .card-action { font-size: .68rem; }
  .project-card p { font-size: .75rem; }
  .footer { gap: .65rem; }
}
@media (prefers-reduced-motion:reduce) { .cover img,.site-header a,.recipe-card { transition: none; } }
